Image::MetaData::JPEG 0.15
Sponsored Links
Image::MetaData::JPEG 0.15 Ranking & Summary
File size:
0.28 MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
1207
Date added:
2006-07-13
Publisher:
Stefano Bettelli
Image::MetaData::JPEG 0.15 description
Image::MetaData::JPEG is a Perl extension for showing/modifying JPEG (meta)data.
SYNOPSIS
use Image::MetaData::JPEG;
# Create a new JPEG file structure object
my $image = new Image::MetaData::JPEG(somepicture.jpg);
die Error: . Image::MetaData::JPEG::Error() unless $image;
# Get a list of references to comment segments
my @segments = $image->get_segments(COM, INDEXES);
# Get the JPEG picture dimensions
my ($dim_x, $dim_y) = $image->get_dimensions();
# Show all JPEG segments and their content
print $image->get_description();
# Retrieve a specific value from Exif meta-data
my $image_data = $image->get_Exif_data(IMAGE_DATA, TEXTUAL);
print $image_data->{DateTimeOriginal}->[0], "n";
# Modify the DateTime tag for the main image
$image->set_Exif_data({DateTime => 1994:07:23 12:14:51},
IMAGE_DATA, ADD);
# Delete all meta-data segments (please, dont)
$image->drop_segments(METADATA);
# Rewrite file to disk after your modifications
$image->save(new_file_name.jpg);
# ... and a lot more methods for viewing/modifying meta-data, which
# are accessed through the $file or $segments[$index] references.
The purpose of this module is to read/modify/rewrite meta-data segments in JPEG (Joint Photographic Experts Group format) files, which can contain comments, thumbnails, Exif information (photographic parameters), IPTC information (editorial parameters) and similar data.
Each JPEG file is made of consecutive segments (tagged data blocks), and the actual row picture data. Most of these segments specify parameters for decoding the picture data into a bitmap; some of them, namely the COMment and APPlication segments, contain instead meta-data, i.e., information about how the photo was shot (usually added by a digital camera) and additional notes from the photograph. These additional pieces of information are especially valuable for picture databases, since the meta-data can be saved together with the picture without resorting to additional database structures. See the appendix about the structure of JPEG files for technical details.
This module works by breaking a JPEG file into individual segments. Each file is associated to an Image::MetaData::JPEG structure object, which contains one Image::MetaData::JPEG::Segment object for each segment. Segments with a known format are then parsed, and their content can be accessed in a structured way for display. Some of them can even be modified and then rewritten to disk.
$JPEG::show_warnings
This package variable must be used to inhibit the printing of warnings: if it is false, warnings are silently ignored. Otherwise, warning messages come with a detailed back-trace and description of the warning location.
$Image::MetaData::JPEG::show_warnings = undef;
SYNOPSIS
use Image::MetaData::JPEG;
# Create a new JPEG file structure object
my $image = new Image::MetaData::JPEG(somepicture.jpg);
die Error: . Image::MetaData::JPEG::Error() unless $image;
# Get a list of references to comment segments
my @segments = $image->get_segments(COM, INDEXES);
# Get the JPEG picture dimensions
my ($dim_x, $dim_y) = $image->get_dimensions();
# Show all JPEG segments and their content
print $image->get_description();
# Retrieve a specific value from Exif meta-data
my $image_data = $image->get_Exif_data(IMAGE_DATA, TEXTUAL);
print $image_data->{DateTimeOriginal}->[0], "n";
# Modify the DateTime tag for the main image
$image->set_Exif_data({DateTime => 1994:07:23 12:14:51},
IMAGE_DATA, ADD);
# Delete all meta-data segments (please, dont)
$image->drop_segments(METADATA);
# Rewrite file to disk after your modifications
$image->save(new_file_name.jpg);
# ... and a lot more methods for viewing/modifying meta-data, which
# are accessed through the $file or $segments[$index] references.
The purpose of this module is to read/modify/rewrite meta-data segments in JPEG (Joint Photographic Experts Group format) files, which can contain comments, thumbnails, Exif information (photographic parameters), IPTC information (editorial parameters) and similar data.
Each JPEG file is made of consecutive segments (tagged data blocks), and the actual row picture data. Most of these segments specify parameters for decoding the picture data into a bitmap; some of them, namely the COMment and APPlication segments, contain instead meta-data, i.e., information about how the photo was shot (usually added by a digital camera) and additional notes from the photograph. These additional pieces of information are especially valuable for picture databases, since the meta-data can be saved together with the picture without resorting to additional database structures. See the appendix about the structure of JPEG files for technical details.
This module works by breaking a JPEG file into individual segments. Each file is associated to an Image::MetaData::JPEG structure object, which contains one Image::MetaData::JPEG::Segment object for each segment. Segments with a known format are then parsed, and their content can be accessed in a structured way for display. Some of them can even be modified and then rewritten to disk.
$JPEG::show_warnings
This package variable must be used to inhibit the printing of warnings: if it is false, warnings are silently ignored. Otherwise, warning messages come with a detailed back-trace and description of the warning location.
$Image::MetaData::JPEG::show_warnings = undef;
Image::MetaData::JPEG 0.15 Screenshot
Image::MetaData::JPEG 0.15 Keywords
JPEG
MetaData
JPEG 0.15
perl extension
segments
data
file
image
Meta-data
picture
Image::MetaData::JPEG
ImageMetaDataJPEG
Image::MetaData::JPEG 0.15
Libraries
Programming
Bookmark Image::MetaData::JPEG 0.15
Image::MetaData::JPEG 0.15 Copyright
WareSeeker periodically updates pricing and software information of Image::MetaData::JPEG 0.15 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Image::MetaData::JPEG 0.15 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
metadata management
metadata cleanup
metadata repository
metadata search
OIM
metadata removal
metadata versus meta data
cbs 60 minutes segments
dublin core metadata
metadata software
jpeg image
metadata definition
segments of the liver
dataquick
metadata registry
line segments
define metadata
imagechef
Related Software
Image::MetaData::JPEG::TagLists contains a collection of tag tables for JPEG segments. Free Download
Image::MetaData::JPEG::Structures is a Perl module that describes the structure of a JPEG file. Free Download
Image::MetaData::JPEG::MakerNotes contains random information and details on MakerNotes. Free Download
SVG::Metadata is a Perl module to capture metadata info about an SVG file. Free Download
Hachoir metadata can extract metadata from archives. Free Download
Imagero Reader is a Java library for reading image files. Free Download
Imager::TimelineDiagram is a Perl extension for creating Timeline Diagrams (designed to show system interaction over time). Free Download
ImageConverter is able to convert one image type (example:gif) to another type (example:jpeg). Free Download
Latest Software
Popular Software
Favourite Software