DOWNLOAD

http://krzak.linux.net.pl/perl/JFIF-0.9.3.tar.gz

NAME

JPEG::JFIF - JFIF/JPEG tags operations.

VERSION

JFIF.pm v 0.9.3

CHANGES

0.9.3 - another rule to workaround for that stupid 0x00 in APP14 (I couldn't find it in JFIF documentation)
0.9 - fix caption add 0x00 in some situations. I don't know what it is, But have to be.
0.8 - can set comment (Caption) tag correctly (hihi)
0.7 - can read all metatags

SYNOPSIS

This module can read and set additional info that is set by Adobe Photoshop in jpeg files (JFIF/JPEG format)

DESCRIPTION

This module can read and set additional info that is set by Adobe Photoshop in jpeg files (JFIF/JPEG format)

EXAMPLE

use JPEG::JFIF;
use strict;

my $jfif = new JPEG::JFIF(filename=>"test.jpg");

# this give you "caption" from adobe. All formats are described in IPTC-NAA specification.
my $caption = $jfif->get(2,120); 

$jfif->set_comment("this is my new caption");

$jfif->write("out.jpg");

COPYRIGHT

Copyright 2002 Marcin Krzyzanowski

AUTHOR

Marcin Krzyzanowski <krzak at linux.net.pl> http://krzak.linux.net.pl