NAME

File::Sticker::Writer::Exif - write and standardize meta-data from EXIF file

VERSION

version 0.9301

SYNOPSIS

use File::Sticker::Writer::Exif;

my $obj = File::Sticker::Writer::Exif->new(%args);

my %meta = $obj->write_meta(%args);

DESCRIPTION

This will write meta-data from EXIF files, and standardize it to a common nomenclature, such as "tags" for things called tags, or Keywords or Subject etc.

DEBUGGING

whoami

Used for debugging info

METHODS

allowed_file

If this writer can be used for the given file, then this returns true. File must be one of: an image or PDF. (ExifTool can't write to EPUB)

known_fields

Returns the fields which this writer knows about.

my $known_fields = $writer->known_fields();

readonly_fields

Returns the fields which this writer knows about, which can't be overwritten, but are allowed to be "wanted" fields. Things like file-size etc.

my $readonly_fields = $writer->readonly_fields();

Helper Functions

Private interface.

replace_one_field

Overwrite the given field. This does no checking.

$writer->replace_one_field(filename=>$filename,field=>$field,value=>$value);

delete_field_from_file

Completely remove the given field. This does no checking.

$writer->delete_field_from_file(filename=>$filename,field=>$field);

_get_the_real_file

If the file is a directory, look for a cover file.

my $real_file = $writer->_get_the_real_file(filename=>$filename);

BUGS

Please report any bugs or feature requests to the author.