NAME

JPEG::JFIF - JFIF/JPEG tags operations.

VERSION

JFIF.pm v 0.10.0

CHANGES

0.10.0 - rewrite code to support older and newest Adobe Photoshop JPEG/JFIF formats, and to have better API.
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 additional info that is set by Adobe Photoshop in jpeg files (JFIF/JPEG format)

DESCRIPTION

This module can read additional info that is set by Adobe Photoshop in jpeg files (JFIF/JPEG format) Available sections name for getdata(name) are : object_name category supplemental_categories keywords special_instructions byline_title byline city province_state country_name original_transmission_reference headline credit source caption caption_writer

EXAMPLE

#!/usr/bin/perl

use JPEG::JFIF;
use strict;

my $jfif = new JPEG::JFIF;
# this give you "caption" tag content.
$jfif->read("file.jpg");
print $jfif->getdata("caption"); 

COPYRIGHT

Copyright 2002 Marcin Krzyzanowski

AUTHOR

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