Image-ExifTool
view release on metacpan or search on metacpan
lib/Image/ExifTool.pm view on Meta::CPAN
},
PrintHex => 1,
PrintConvColumns => 2,
PrintConv => [{ # stat device types (bitmask 0xf000)
0x0000 => 'Unknown',
0x1000 => 'FIFO',
0x2000 => 'Character',
0x3000 => 'Mux Character',
0x4000 => 'Directory',
0x5000 => 'XENIX Named',
0x6000 => 'Block',
0x7000 => 'Mux Block',
0x8000 => 'Regular',
0x9000 => 'VxFS Compressed',
0xa000 => 'Symbolic Link',
0xb000 => 'Solaris Shadow Inode',
0xc000 => 'Socket',
0xd000 => 'Solaris Door',
0xe000 => 'BSD Whiteout',
},{ BITMASK => { # stat attribute bits (bitmask 0x0e00)
9 => 'Sticky',
10 => 'Set Group ID',
11 => 'Set User ID',
}},{ BITMASK => { # Windows attribute bits
0 => 'Read Only',
1 => 'Hidden',
2 => 'System',
3 => 'Volume Label',
4 => 'Directory',
5 => 'Archive',
6 => 'Device',
7 => 'Normal',
8 => 'Temporary',
9 => 'Sparse File',
10 => 'Reparse Point',
11 => 'Compressed',
12 => 'Offline',
13 => 'Not Content Indexed',
14 => 'Encrypted',
}}],
},
FileDeviceID => {
Groups => { 1 => 'System', 2 => 'Other' },
%systemTagsNotes,
PrintConv => '(($val >> 24) & 0xff) . "." . ($val & 0xffffff)', # (major.minor)
},
FileDeviceNumber => { Groups => { 1 => 'System', 2 => 'Other' }, %systemTagsNotes },
FileInodeNumber => { Groups => { 1 => 'System', 2 => 'Other' }, %systemTagsNotes },
FileHardLinks => { Groups => { 1 => 'System', 2 => 'Other' }, %systemTagsNotes },
FileUserID => {
Groups => { 1 => 'System', 2 => 'Other' },
Notes => q{
extracted only if specifically requested or the API L<SystemTags|../ExifTool.html#SystemTags> or L<RequestAll|../ExifTool.html#RequestAll>
option is set. Returns user ID number with the -n option, or name
otherwise. May be written with either user name or number
},
Writable => 1,
WritePseudo => 1,
DelCheck => q{"Can't delete"},
Protected => 1, # all writable pseudo-tags must be protected!
PrintConv => 'eval { getpwuid($val) } || $val',
PrintConvInv => 'eval { getpwnam($val) } || ($val=~/[^0-9]/ ? undef : $val)',
},
FileGroupID => {
Groups => { 1 => 'System', 2 => 'Other' },
Notes => q{
extracted only if specifically requested or the API L<SystemTags|../ExifTool.html#SystemTags> or L<RequestAll|../ExifTool.html#RequestAll>
option is set. Returns group ID number with the -n option, or name
otherwise. May be written with either group name or number
},
Writable => 1,
WritePseudo => 1,
DelCheck => q{"Can't delete"},
Protected => 1, # all writable pseudo-tags must be protected!
PrintConv => 'eval { getgrgid($val) } || $val',
PrintConvInv => 'eval { getgrnam($val) } || ($val=~/[^0-9]/ ? undef : $val)',
},
FileBlockSize => { Groups => { 1 => 'System', 2 => 'Other' }, %systemTagsNotes },
FileBlockCount => { Groups => { 1 => 'System', 2 => 'Other' }, %systemTagsNotes },
HardLink => {
Writable => 1,
DelCheck => q{"Can't delete"},
WriteOnly => 1,
WritePseudo => 1,
Protected => 1,
Notes => q{
this write-only tag is used to create a hard link with the specified name to
the source file. If the source file is edited, copied, renamed or moved in
the same operation as writing HardLink, then the link is made to the updated
file. Note that subsequent editing of either hard-linked file by exiftool
will break the link unless the -overwrite_original_in_place option is used
},
ValueConvInv => '$val=~tr/\\\\/\//; $val',
},
SymLink => {
Writable => 1,
DelCheck => q{"Can't delete"},
WriteOnly => 1,
WritePseudo => 1,
Protected => 1,
Notes => q{
this write-only tag is used to create a symbolic link with the specified
name to the source file. If the source file is edited, copied, renamed or
moved in the same operation as writing SymLink, then the link is made to the
updated file. The link uses an absolute path unless it is created in the
current working directory. Valid only for file systems that support
symbolic links. Note that subsequent editing of the file via the symbolic
link by exiftool will cause the link to be replaced by the edited file
without changing the original unless the -overwrite_original_in_place option
is used
},
ValueConvInv => '$val=~tr/\\\\/\//; $val',
},
MIMEType => { Notes => 'the MIME type of the source file', Groups => { 2 => 'Other' } },
ImageWidth => { Notes => 'the width of the image in number of pixels' },
ImageHeight => { Notes => 'the height of the image in number of pixels' },
XResolution => { Notes => 'the horizontal pixel resolution' },
YResolution => { Notes => 'the vertical pixel resolution' },
NumPlanes => { Notes => 'number of color planes' },
MaxVal => { Notes => 'maximum pixel value in PPM or PGM image' },
EXIF => {
( run in 0.707 second using v1.01-cache-2.11-cpan-39bf76dae61 )