NAME

JPEG::JFIF - JFIF/JPEG tags operations.

VERSION

JFIF.pm v 0.8

CHANGES

0.9 - fix caption add 0x00 in some situations. I don't know hwat 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");

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

$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