/usr/share/perl5/Image/ExifTool/Stim.pm is in libimage-exiftool-perl 8.60-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | #------------------------------------------------------------------------------
# File: Stim.pm
#
# Description: Definitions for Stereo Still Image tags
#
# Revisions: 06/12/2009 - P. Harvey Created
#
# References: 1) http://www.cipa.jp/english/hyoujunka/kikaku/pdf/DC-006_E.pdf
#------------------------------------------------------------------------------
package Image::ExifTool::Stim;
use strict;
use vars qw($VERSION);
$VERSION = '1.00';
# Tags found in Stim APP3 segment in JPEG images
%Image::ExifTool::Stim::Main = (
GROUPS => { 0 => 'Stim', 1 => 'Stim', 2 => 'Image'},
NOTES => q{
These tags are part of the CIPA Stereo Still Image specification, and are
found in the APP3 "Stim" segment of JPEG images. See
L<http://www.cipa.jp/english/hyoujunka/kikaku/pdf/DC-006_E.pdf> for the
official specification.
},
0 => 'StimVersion',
1 => {
Name => 'ApplicationData',
Binary => 1,
},
2 => {
Name => 'ImageArrangement',
PrintConv => {
0 => 'Parallel View Alignment',
1 => 'Cross View Alignment',
},
},
3 => {
Name => 'ImageRotation',
PrintConv => {
1 => 'None',
},
},
4 => 'ScalingFactor',
5 => 'CropXSize',
6 => 'CropYSize',
7 => {
Name => 'CropX',
SubDirectory => {
TagTable => 'Image::ExifTool::Stim::CropX',
},
},
8 => {
Name => 'CropY',
SubDirectory => {
TagTable => 'Image::ExifTool::Stim::CropY',
},
},
9 => {
Name => 'ViewType',
PrintConv => {
0 => 'No Pop-up Effect',
1 => 'Pop-up Effect',
},
},
10 => {
Name => 'RepresentativeImage',
PrintConv => {
0 => 'Left Viewpoint',
1 => 'Right Viewpoint',
},
},
11 => {
Name => 'ConvergenceBaseImage',
PrintConv => {
0 => 'Left Viewpoint',
1 => 'Right Viewpoint',
255 => 'Equivalent for Both Viewpoints',
},
},
12 => {
Name => 'AssumedDisplaySize',
PrintConv => '"$val mm"',
},
13 => {
Name => 'AssumedDistanceView',
PrintConv => '"$val mm"',
},
14 => 'RepresentativeDisparityNear',
15 => 'RepresentativeDisparityFar',
16 => {
Name => 'InitialDisplayEffect',
PrintConv => {
0 => 'Off',
1 => 'On',
},
},
17 => {
Name => 'ConvergenceDistance',
PrintConv => '$val ? "$val mm" : "inf"',
},
18 => {
Name => 'CameraArrangementInterval',
PrintConv => '"$val mm"',
},
19 => 'ShootingCount',
);
# crop offset X tags
%Image::ExifTool::Stim::CropX = (
PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,
GROUPS => { 0 => 'Stim', 1 => 'Stim', 2 => 'Image'},
0 => {
Name => 'CropXCommonOffset',
Format => 'int16u',
PrintConv => {
0 => 'Common Offset Setting',
1 => 'Individual Offset Setting',
},
},
2 => 'CropXViewpointNumber',
3 => {
Name => 'CropXOffset',
Format => 'int32s',
},
7 => 'CropXViewpointNumber2',
8 => {
Name => 'CropXOffset2',
Format => 'int32s',
},
);
# crop offset Y tags
%Image::ExifTool::Stim::CropY = (
PROCESS_PROC => \&Image::ExifTool::ProcessBinaryData,
GROUPS => { 0 => 'Stim', 1 => 'Stim', 2 => 'Image'},
0 => {
Name => 'CropYCommonOffset',
Format => 'int16u',
PrintConv => {
0 => 'Common Offset Setting',
1 => 'Individual Offset Setting',
},
},
2 => 'CropYViewpointNumber',
3 => {
Name => 'CropYOffset',
Format => 'int32s',
},
7 => 'CropYViewpointNumber2',
8 => {
Name => 'CropYOffset2',
Format => 'int32s',
},
);
1; # end
__END__
=head1 NAME
Image::ExifTool::Stim - Definitions for Stereo Still Image tags
=head1 SYNOPSIS
This module is used by Image::ExifTool
=head1 DESCRIPTION
This module contains tag definitions for Stereo Still Image format (Stim)
information.
=head1 AUTHOR
Copyright 2003-2011, Phil Harvey (phil at owl.phy.queensu.ca)
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
=head1 REFERENCES
=over 4
=item L<http://www.cipa.jp/english/hyoujunka/kikaku/pdf/DC-006_E.pdf>
=back
=head1 SEE ALSO
L<Image::ExifTool::TagNames/Stim Tags>,
L<Image::ExifTool(3pm)|Image::ExifTool>
=cut
|