mini_exiftool 2.8.2 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8fe1a7854344251326c5de2f55c1a098be71bf0
4
- data.tar.gz: 2270f62b375c8b72854d6785a1ae6e9f0ddabdb8
3
+ metadata.gz: f3b224dbde8e07fa83d9725daa5728048d460b74
4
+ data.tar.gz: a3e2aae3ae29faf1c83bd9546a3736060c0a498f
5
5
  SHA512:
6
- metadata.gz: 5e596defa2e4246b9ba20ce91213f458a3f5942227050fbc429577d12bfad5d15ce7d1d409b72c5362e5fe35d3d3010ad69c75e6d0ea527cf2d6789486164995
7
- data.tar.gz: '03779bed29a55fdce0f1346caaedb8fac62825782d273a6d981330049a7b4de49c87903116c250decee5bd6ac5090be4611100275489139e5a15138c2715b288'
6
+ metadata.gz: febb234aab0eb01ff1b95ea8e7a14267b518dc7210dd3dbf76be99977531453c747dea2e5f61a1265b94e32243c35510a778e719ceed7258967cd54e84a4fd60
7
+ data.tar.gz: 4ef9d8c7d6f4184b3e5b8939896226c622bc5120d9c3aa067650a96ef2b6b4c803aa90a705d2d8b50bfe3effcf6a0ad2b5593bcee2de43c1f0aed922438a668d
@@ -0,0 +1,115 @@
1
+ personal_ws-1.1 en 114
2
+ CodedCharacterSet
3
+ Stjernstrom
4
+ iptc
5
+ README
6
+ releating
7
+ Gemfile
8
+ Friedrich
9
+ echoe
10
+ encodings
11
+ stderr
12
+ Cypriano
13
+ Fixnum
14
+ JPEGs
15
+ Gitorious
16
+ neccessary
17
+ jpg
18
+ Soika
19
+ rdoc
20
+ ccoenen
21
+ StandardError
22
+ gemspec
23
+ Kulander
24
+ exif
25
+ refactorings
26
+ FNumber
27
+ dir
28
+ popen
29
+ io
30
+ JPEG
31
+ yaml
32
+ mfo
33
+ coord
34
+ md
35
+ MiniExiftool
36
+ Tempfile
37
+ warings
38
+ Gaelan
39
+ atomar
40
+ Atomar
41
+ Regexes
42
+ mie
43
+ �ml�uts
44
+ commandline
45
+ robotmay
46
+ params
47
+ Soutar
48
+ metadata
49
+ filename
50
+ OO
51
+ rb
52
+ SupplementalCategories
53
+ stdout
54
+ exiftool
55
+ ExifTool
56
+ prerelease
57
+ str
58
+ Henning
59
+ Krogmann
60
+ timestamps
61
+ encod
62
+ customizable
63
+ bundler
64
+ CaptionAbstract
65
+ Picturelife
66
+ cgat
67
+ Hinrich
68
+ DYNAX
69
+ gras
70
+ yardopts
71
+ Barushev
72
+ aiff
73
+ pdf
74
+ MacRoman
75
+ DateTime
76
+ TestEscapeFilename
77
+ ptore
78
+ ws
79
+ icc
80
+ Gieseler
81
+ UTF
82
+ Wil
83
+ shioyama
84
+ Joshfindit
85
+ Dungan
86
+ Romahn
87
+ uwe
88
+ DateTimeOriginal
89
+ datetimeoriginal
90
+ filenames
91
+ POSIX
92
+ darwin
93
+ SubjectLocation
94
+ GPS
95
+ quicktime
96
+ pstore
97
+ PStore
98
+ shellwords
99
+ Rau
100
+ photoshop
101
+ png
102
+ charset
103
+ rubyforge
104
+ github
105
+ vorbis
106
+ Refactoring
107
+ Bugfix
108
+ xmp
109
+ J�rome
110
+ Horrocks
111
+ acki
112
+ Salzberg
113
+ Hoy
114
+ regtest
115
+ json
data/Changelog CHANGED
@@ -1,3 +1,7 @@
1
+ 2.9.0
2
+ Use rim/regtest instead of regtest/task to include regtest files into gem.
3
+ Update to rim 2.15 to include Gemfile and other stuff into gem file.
4
+
1
5
  2.8.2
2
6
  - Upgrade to rim 2.10.0 to unfreeze gemspec.
3
7
 
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'rim/tire'
2
2
  require 'rim/version'
3
- require 'regtest/task'
3
+ require 'rim/regtest'
4
4
 
5
5
  $:.unshift 'lib'
6
6
  require 'mini_exiftool'
@@ -33,7 +33,7 @@ EXIF-data, IPTC-data and XMP-data.
33
33
  +-----------------------------------------------------------------------+
34
34
  END
35
35
  p.test_warning = false
36
- p.development_dependencies << 'rake' << 'regtest' << 'test-unit'
36
+ p.development_dependencies << 'test-unit'
37
37
  if p.feature_loaded? 'rim/aspell'
38
38
  p.aspell_files << 'Tutorial.md'
39
39
  end
@@ -26,7 +26,7 @@ require 'time'
26
26
  # Simple OO access to the ExifTool command-line application.
27
27
  class MiniExiftool
28
28
 
29
- VERSION = '2.8.2'
29
+ VERSION = '2.9.0'
30
30
 
31
31
  # Name of the ExifTool command-line application
32
32
  @@cmd = 'exiftool'
@@ -0,0 +1,45 @@
1
+ # -*- encoding: utf-8 -*-
2
+ # stub: mini_exiftool 2.9.0 ruby lib
3
+ #
4
+ # This file is automatically generated by rim.
5
+ # PLEASE DO NOT EDIT IT DIRECTLY!
6
+ # Change the values in Rim.setup in Rakefile instead.
7
+
8
+ Gem::Specification.new do |s|
9
+ s.name = "mini_exiftool"
10
+ s.version = "2.9.0"
11
+
12
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
13
+ s.require_paths = ["lib"]
14
+ s.authors = ["Jan Friedrich"]
15
+ s.date = "2017-09-19"
16
+ s.description = "This library is a wrapper for the ExifTool command-line application\n(http://www.sno.phy.queensu.ca/~phil/exiftool) written by Phil Harvey.\nIt provides the full power of ExifTool to Ruby: reading and writing of\nEXIF-data, IPTC-data and XMP-data.\n"
17
+ s.email = "janfri26@gmail.com"
18
+ s.files = ["./.aspell.pws", "COPYING", "Changelog", "Gemfile", "README.md", "Rakefile", "Tutorial.md", "examples/copy_icc_profile.rb", "examples/external_photo.rb", "examples/print_portraits.rb", "examples/shift_time.rb", "examples/show_speedup_with_fast_option.rb", "lib/mini_exiftool.rb", "mini_exiftool.gemspec", "regtest/read_all.rb", "regtest/read_all.yml", "test/data", "test/data/Bad_PreviewIFD.jpg", "test/data/Canon.jpg", "test/data/INFORMATION", "test/data/invalid_byte_sequence_in_utf8.json", "test/data/invalid_rational.json", "test/data/test.jpg", "test/data/test.jpg.json", "test/data/test_coordinates.jpg", "test/data/test_encodings.jpg", "test/data/test_special_dates.jpg", "test/helpers_for_test.rb", "test/test_bad_preview_ifd.rb", "test/test_class_methods.rb", "test/test_composite.rb", "test/test_copy_tags_from.rb", "test/test_dumping.rb", "test/test_encodings.rb", "test/test_filename_access.rb", "test/test_from_hash.rb", "test/test_invalid_byte_sequence_in_utf8.rb", "test/test_invalid_rational.rb", "test/test_io.rb", "test/test_pstore.rb", "test/test_read.rb", "test/test_read_coordinates.rb", "test/test_read_numerical.rb", "test/test_save.rb", "test/test_special.rb", "test/test_special_dates.rb", "test/test_write.rb"]
19
+ s.homepage = "https://github.com/janfri/mini_exiftool"
20
+ s.licenses = ["LGPL-2.1"]
21
+ s.post_install_message = "+-----------------------------------------------------------------------+\n| Please ensure you have installed exiftool at least version 7.65 |\n| and it's found in your PATH (Try \"exiftool -ver\" on your commandline).|\n| For more details see |\n| http://www.sno.phy.queensu.ca/~phil/exiftool/install.html |\n| You need also Ruby 1.9 or higher. |\n| If you need support for Ruby 1.8 or exiftool prior 7.65 install |\n| mini_exiftool version < 2.0.0. |\n+-----------------------------------------------------------------------+\n"
22
+ s.rubygems_version = "2.6.13"
23
+ s.summary = "This library is a wrapper for the ExifTool command-line application (http://www.sno.phy.queensu.ca/~phil/exiftool)."
24
+
25
+ if s.respond_to? :specification_version then
26
+ s.specification_version = 4
27
+
28
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
29
+ s.add_development_dependency(%q<rake>, [">= 0"])
30
+ s.add_development_dependency(%q<rim>, ["~> 2.15"])
31
+ s.add_development_dependency(%q<test-unit>, [">= 0"])
32
+ s.add_development_dependency(%q<regtest>, ["~> 1.0"])
33
+ else
34
+ s.add_dependency(%q<rake>, [">= 0"])
35
+ s.add_dependency(%q<rim>, ["~> 2.15"])
36
+ s.add_dependency(%q<test-unit>, [">= 0"])
37
+ s.add_dependency(%q<regtest>, ["~> 1.0"])
38
+ end
39
+ else
40
+ s.add_dependency(%q<rake>, [">= 0"])
41
+ s.add_dependency(%q<rim>, ["~> 2.15"])
42
+ s.add_dependency(%q<test-unit>, [">= 0"])
43
+ s.add_dependency(%q<regtest>, ["~> 1.0"])
44
+ end
45
+ end
@@ -0,0 +1,12 @@
1
+ require 'mini_exiftool'
2
+ require 'regtest'
3
+
4
+ Dir['test/data/*.jpg'].sort.each do |fn|
5
+ Regtest.sample 'read ' << File.basename(fn) do
6
+ h = MiniExiftool.new(fn).to_hash
7
+ %w(FileModifyDate FileAccessDate FileInodeChangeDate FilePermissions).each do |tag|
8
+ h.delete(tag)
9
+ end
10
+ h
11
+ end
12
+ end
@@ -0,0 +1,574 @@
1
+ ---
2
+ sample: read Bad_PreviewIFD.jpg
3
+ result:
4
+ ExifToolVersion: 10.55
5
+ FileSize: 8.4 kB
6
+ FileType: JPEG
7
+ FileTypeExtension: jpg
8
+ MIMEType: image/jpeg
9
+ JFIFVersion: 1.01
10
+ ExifByteOrder: Big-endian (Motorola, MM)
11
+ Make: NIKON CORPORATION
12
+ Model: NIKON D60
13
+ XResolution: 300
14
+ YResolution: 300
15
+ ResolutionUnit: inches
16
+ Software: GIMP 2.6.11
17
+ ModifyDate: 2012-05-31 21:33:12.000000000 +02:00
18
+ YCbCrPositioning: Centered
19
+ ExposureTime: !ruby/object:Rational
20
+ denominator: 125
21
+ numerator: 1
22
+ FNumber: 5.6
23
+ ExposureProgram: Not Defined
24
+ ISO: 110
25
+ ExifVersion: '0221'
26
+ DateTimeOriginal: 2008-12-12 11:12:30.000000000 +01:00
27
+ CreateDate: 2008-12-12 11:12:30.000000000 +01:00
28
+ ComponentsConfiguration: Y, Cb, Cr, -
29
+ ExposureCompensation: 0
30
+ MaxApertureValue: 4.0
31
+ MeteringMode: Multi-segment
32
+ Flash: No Flash
33
+ FocalLength: 55.0 mm
34
+ MakerNoteVersion: 2.1
35
+ ColorMode: Color
36
+ Quality: Fine
37
+ WhiteBalance: Auto
38
+ Sharpness: Auto
39
+ FocusMode: AF-A
40
+ WhiteBalanceFineTune: 0 0
41
+ WB_RBLevels: 56833 21761 1 1
42
+ ProgramShift: 0
43
+ ExposureDifference: 0
44
+ Warning: Bad PreviewIFD directory
45
+ ISOSetting: 110
46
+ ImageBoundary: 0 0 3872 2592
47
+ CropHiSpeed: Off (3904x2616 cropped to 3904x2616 at pixel 0,0)
48
+ SerialNumber: 3365614
49
+ VRInfoVersion: 100
50
+ VibrationReduction: 'On'
51
+ VRMode: Normal
52
+ ActiveD-Lighting: 'Off'
53
+ TimeZone: "-05:00"
54
+ DaylightSavings: 'No'
55
+ DateDisplayFormat: Y/M/D
56
+ ISOExpansion: 'Off'
57
+ ISO2: 112
58
+ ISOExpansion2: 'Off'
59
+ ToneComp: Auto
60
+ LensType: G VR
61
+ Lens: 55-200mm f/4-5.6
62
+ FlashMode: Did Not Fire
63
+ AFAreaMode: Dynamic Area (closest subject)
64
+ AFPoint: Center
65
+ AFPointsInFocus: Center
66
+ ShootingMode: Single-Frame
67
+ ColorHue: Mode3a
68
+ LightSource: Natural
69
+ ShotInfoVersion: '0211'
70
+ HueAdjustment: 0
71
+ NoiseReduction: 'Off'
72
+ WB_RGGBLevels: 56833 1 1 7
73
+ LensDataVersion: 202
74
+ ExitPupilPosition: 70.6 mm
75
+ AFAperture: 4.1
76
+ FocusPosition: '0x22'
77
+ FocusDistance: 6.31 m
78
+ LensIDNumber: 144
79
+ LensFStops: 4.92
80
+ MinFocalLength: 55.0 mm
81
+ MaxFocalLength: 201.6 mm
82
+ MaxApertureAtMinFocal: 4.0
83
+ MaxApertureAtMaxFocal: 5.7
84
+ MCUVersion: 146
85
+ EffectiveMaxAperture: 4.0
86
+ SensorPixelSize: 6.05 x 6.05 um
87
+ RetouchHistory: None
88
+ ImageDataSize: 4725881
89
+ ShutterCount: 290
90
+ ImageOptimization: ''
91
+ Saturation: Auto
92
+ VariProgram: Auto
93
+ MultiExposureVersion: 100
94
+ MultiExposureMode: 'Off'
95
+ MultiExposureShots: 0
96
+ MultiExposureAutoGain: 'Off'
97
+ HighISONoiseReduction: 'Off'
98
+ PowerUpTime: 2008-12-12 11:11:24.000000000 +01:00
99
+ FileInfoVersion: 100
100
+ MemoryCardNumber: 0
101
+ DirectoryNumber: 100
102
+ FileNumber: '0081'
103
+ RetouchInfoVersion: 100
104
+ NEFBitDepth: Unknown (0 0 16723 17225)
105
+ UserComment: ''
106
+ SubSecTime: 0
107
+ SubSecTimeOriginal: 0
108
+ SubSecTimeDigitized: 0
109
+ FlashpixVersion: 100
110
+ ColorSpace: sRGB
111
+ ExifImageWidth: 1
112
+ ExifImageHeight: 1
113
+ SensingMethod: One-chip color area
114
+ FileSource: Digital Camera
115
+ SceneType: Directly photographed
116
+ CFAPattern: "[Green,Blue][Red,Green]"
117
+ XPTitle: ''
118
+ XPKeywords: ''
119
+ Compression: JPEG (old-style)
120
+ ThumbnailOffset: 3690
121
+ ThumbnailLength: 631
122
+ RatingPercent: 0
123
+ Rating: 0
124
+ Title: ''
125
+ ProfileCMMType: Lino
126
+ ProfileVersion: 2.1.0
127
+ ProfileClass: Display Device Profile
128
+ ColorSpaceData: 'RGB '
129
+ ProfileConnectionSpace: 'XYZ '
130
+ ProfileDateTime: 1998-02-09 06:49:00.000000000 +01:00
131
+ ProfileFileSignature: acsp
132
+ PrimaryPlatform: Microsoft Corporation
133
+ CMMFlags: Not Embedded, Independent
134
+ DeviceManufacturer: 'IEC '
135
+ DeviceModel: sRGB
136
+ DeviceAttributes: Reflective, Glossy, Positive, Color
137
+ RenderingIntent: Perceptual
138
+ ConnectionSpaceIlluminant: 0.9642 1 0.82491
139
+ ProfileCreator: 'HP '
140
+ ProfileID: 0
141
+ ProfileCopyright: Copyright (c) 1998 Hewlett-Packard Company
142
+ ProfileDescription: sRGB IEC61966-2.1
143
+ MediaWhitePoint: 0.95045 1 1.08905
144
+ MediaBlackPoint: 0 0 0
145
+ RedMatrixColumn: 0.43607 0.22249 0.01392
146
+ GreenMatrixColumn: 0.38515 0.71687 0.09708
147
+ BlueMatrixColumn: 0.14307 0.06061 0.7141
148
+ DeviceMfgDesc: IEC http://www.iec.ch
149
+ DeviceModelDesc: IEC 61966-2.1 Default RGB colour space - sRGB
150
+ ViewingCondDesc: Reference Viewing Condition in IEC61966-2.1
151
+ ViewingCondIlluminant: 19.6445 20.3718 16.8089
152
+ ViewingCondSurround: 3.92889 4.07439 3.36179
153
+ ViewingCondIlluminantType: D50
154
+ Luminance: 76.03647 80 87.12462
155
+ MeasurementObserver: CIE 1931
156
+ MeasurementBacking: 0 0 0
157
+ MeasurementGeometry: Unknown
158
+ MeasurementFlare: 0.999%
159
+ MeasurementIlluminant: D65
160
+ Technology: Cathode Ray Tube Display
161
+ RedTRC: "(Binary data 2060 bytes, use -b option to extract)"
162
+ GreenTRC: "(Binary data 2060 bytes, use -b option to extract)"
163
+ BlueTRC: "(Binary data 2060 bytes, use -b option to extract)"
164
+ ImageWidth: 1
165
+ ImageHeight: 1
166
+ EncodingProcess: Baseline DCT, Huffman coding
167
+ BitsPerSample: 8
168
+ ColorComponents: 3
169
+ YCbCrSubSampling: YCbCr4:4:0 (1 2)
170
+ Aperture: 5.6
171
+ BlueBalance: 7
172
+ ImageSize: 1x1
173
+ LensID: AF-S DX VR Zoom-Nikkor 55-200mm f/4-5.6G IF-ED
174
+ LensSpec: 55-200mm f/4-5.6 G VR
175
+ Megapixels: 1.0e-06
176
+ RedBalance: 56833
177
+ ShutterSpeed: !ruby/object:Rational
178
+ denominator: 125
179
+ numerator: 1
180
+ SubSecCreateDate: 2008-12-12 11:12:30.000000000 +01:00
181
+ SubSecDateTimeOriginal: 2008-12-12 11:12:30.000000000 +01:00
182
+ SubSecModifyDate: 2012-05-31 21:33:12.000000000 +02:00
183
+ ThumbnailImage: "(Binary data 631 bytes, use -b option to extract)"
184
+ FocalLength35efl: 55.0 mm
185
+ LightValue: 11.8
186
+ ---
187
+ sample: read Canon.jpg
188
+ result:
189
+ ExifToolVersion: 10.55
190
+ FileSize: 2.6 kB
191
+ FileType: JPEG
192
+ FileTypeExtension: jpg
193
+ MIMEType: image/jpeg
194
+ ExifByteOrder: Little-endian (Intel, II)
195
+ Make: Canon
196
+ Model: Canon EOS DIGITAL REBEL
197
+ Orientation: Horizontal (normal)
198
+ XResolution: 180
199
+ YResolution: 180
200
+ ResolutionUnit: inches
201
+ ModifyDate: 2003-12-04 06:46:52.000000000 +01:00
202
+ YCbCrPositioning: Centered
203
+ ExposureTime: 4
204
+ FNumber: 14.0
205
+ ISO: 100
206
+ ExifVersion: '0221'
207
+ DateTimeOriginal: 2003-12-04 06:46:52.000000000 +01:00
208
+ CreateDate: 2003-12-04 06:46:52.000000000 +01:00
209
+ ComponentsConfiguration: Y, Cb, Cr, -
210
+ CompressedBitsPerPixel: 9
211
+ ShutterSpeedValue: 0
212
+ ApertureValue: 14.0
213
+ MaxApertureValue: 4.5
214
+ Flash: No Flash
215
+ FocalLength: 34.0 mm
216
+ MacroMode: Unknown (0)
217
+ SelfTimer: 'Off'
218
+ Quality: RAW
219
+ CanonFlashMode: 'Off'
220
+ ContinuousDrive: Continuous
221
+ FocusMode: Manual Focus (3)
222
+ RecordMode: CRW+THM
223
+ CanonImageSize: Large
224
+ EasyMode: Manual
225
+ DigitalZoom: Unknown (-1)
226
+ Contrast: "+1"
227
+ Saturation: "+1"
228
+ Sharpness: "+1"
229
+ CameraISO: n/a
230
+ MeteringMode: Center-weighted average
231
+ FocusRange: Not Known
232
+ CanonExposureMode: Manual
233
+ LensType: n/a
234
+ MaxFocalLength: 55 mm
235
+ MinFocalLength: 18 mm
236
+ FocalUnits: 1/mm
237
+ MaxAperture: 4
238
+ MinAperture: 27
239
+ FlashActivity: 0
240
+ FlashBits: "(none)"
241
+ ZoomSourceWidth: 3072
242
+ ZoomTargetWidth: 3072
243
+ ManualFlashOutput: n/a
244
+ ColorTone: Normal
245
+ FocalPlaneXSize: 23.22 mm
246
+ FocalPlaneYSize: 15.49 mm
247
+ AutoISO: 100
248
+ BaseISO: 100
249
+ MeasuredEV: -1.25
250
+ TargetAperture: 14
251
+ ExposureCompensation: 0
252
+ WhiteBalance: Auto
253
+ SlowShutter: None
254
+ SequenceNumber: 0
255
+ OpticalZoomCode: n/a
256
+ FlashGuideNumber: 0
257
+ FlashExposureComp: 0
258
+ AutoExposureBracketing: 'Off'
259
+ AEBBracketValue: 0
260
+ ControlMode: Camera Local Control
261
+ FocusDistanceUpper: inf
262
+ FocusDistanceLower: 5.46 m
263
+ MeasuredEV2: -1.25
264
+ BulbDuration: 4
265
+ CameraType: EOS Mid-range
266
+ AutoRotate: None
267
+ NDFilter: n/a
268
+ SelfTimer2: 0
269
+ BracketMode: 'Off'
270
+ BracketValue: 0
271
+ BracketShotNumber: 0
272
+ CanonImageType: CRW:EOS DIGITAL REBEL CMOS RAW
273
+ CanonFirmwareVersion: Firmware Version 1.1.1
274
+ SerialNumber: 560018150
275
+ SerialNumberFormat: Format 1
276
+ FileNumber: 118-1861
277
+ OwnerName: Phil Harvey
278
+ CanonModelID: EOS Digital Rebel / 300D / Kiss Digital
279
+ CanonFileLength: 4480822
280
+ MeasuredRGGB: 998 1022 1026 808
281
+ WB_RGGBLevelsAuto: 1719 832 831 990
282
+ WB_RGGBLevelsDaylight: 1722 832 831 989
283
+ WB_RGGBLevelsShade: 2035 832 831 839
284
+ WB_RGGBLevelsCloudy: 1878 832 831 903
285
+ WB_RGGBLevelsTungsten: 1228 913 912 1668
286
+ WB_RGGBLevelsFluorescent: 1506 842 841 1381
287
+ WB_RGGBLevelsFlash: 1933 832 831 895
288
+ WB_RGGBLevelsCustom: 1722 832 831 989
289
+ WB_RGGBLevelsKelvin: 1722 832 831 988
290
+ WB_RGGBBlackLevels: 124 123 124 123
291
+ ColorTemperature: 5200
292
+ NumAFPoints: 7
293
+ ValidAFPoints: 7
294
+ CanonImageWidth: 3072
295
+ CanonImageHeight: 2048
296
+ AFImageWidth: 3072
297
+ AFImageHeight: 2048
298
+ AFAreaWidth: 151
299
+ AFAreaHeight: 151
300
+ AFAreaXPositions: 1014 608 0 0 0 -608 -1014
301
+ AFAreaYPositions: 0 0 -506 0 506 0 0
302
+ AFPointsInFocus: "(none)"
303
+ ThumbnailImageValidArea: 0 159 7 112
304
+ UserComment: ''
305
+ FlashpixVersion: 100
306
+ ColorSpace: sRGB
307
+ ExifImageWidth: 160
308
+ ExifImageHeight: 120
309
+ InteropIndex: THM - DCF thumbnail file
310
+ InteropVersion: 100
311
+ RelatedImageWidth: 3072
312
+ RelatedImageHeight: 2048
313
+ FocalPlaneXResolution: 3443.946188
314
+ FocalPlaneYResolution: 3442.016807
315
+ FocalPlaneResolutionUnit: inches
316
+ SensingMethod: One-chip color area
317
+ FileSource: Digital Camera
318
+ CustomRendered: Normal
319
+ ExposureMode: Manual
320
+ SceneCaptureType: Standard
321
+ ImageWidth: 8
322
+ ImageHeight: 8
323
+ EncodingProcess: Baseline DCT, Huffman coding
324
+ BitsPerSample: 8
325
+ ColorComponents: 3
326
+ YCbCrSubSampling: YCbCr4:2:0 (2 2)
327
+ Aperture: 14.0
328
+ DriveMode: Continuous Shooting
329
+ ImageSize: 8x8
330
+ Lens: 18.0 - 55.0 mm
331
+ LensID: Unknown 18-55mm
332
+ Megapixels: 6.4e-05
333
+ ScaleFactor35efl: 1.6
334
+ ShootingMode: Bulb
335
+ ShutterSpeed: 4
336
+ WB_RGGBLevels: 1719 832 831 990
337
+ BlueBalance: 1.190619
338
+ CircleOfConfusion: 0.019 mm
339
+ DOF: inf (4.31 m - inf)
340
+ FOV: 36.9 deg
341
+ FocalLength35efl: '34.0 mm (35 mm equivalent: 54.0 mm)'
342
+ HyperfocalDistance: 4.37 m
343
+ Lens35efl: '18.0 - 55.0 mm (35 mm equivalent: 28.6 - 87.4 mm)'
344
+ LightValue: 5.6
345
+ RedBalance: 2.067348
346
+ ---
347
+ sample: read test.jpg
348
+ result:
349
+ ExifToolVersion: 10.55
350
+ FileSize: 46 kB
351
+ FileType: JPEG
352
+ FileTypeExtension: jpg
353
+ MIMEType: image/jpeg
354
+ JFIFVersion: 1.01
355
+ ExifByteOrder: Big-endian (Motorola, MM)
356
+ ImageDescription: KONICA MINOLTA DIGITAL CAMERA
357
+ Make: KONICA MINOLTA
358
+ Model: DYNAX 7D
359
+ Orientation: Horizontal (normal)
360
+ XResolution: 72
361
+ YResolution: 72
362
+ ResolutionUnit: inches
363
+ Software: DYNAX 7D v1.10
364
+ ModifyDate: 2005-09-13 20:08:50.000000000 +02:00
365
+ YCbCrPositioning: Centered
366
+ ExposureTime: !ruby/object:Rational
367
+ denominator: 60
368
+ numerator: 1
369
+ FNumber: 9.5
370
+ ExposureProgram: Program AE
371
+ ISO: 400
372
+ ExifVersion: '0221'
373
+ DateTimeOriginal: 2005-09-13 20:08:50.000000000 +02:00
374
+ CreateDate: 2005-09-13 20:08:50.000000000 +02:00
375
+ ComponentsConfiguration: Y, Cb, Cr, -
376
+ BrightnessValue: 4.5
377
+ ExposureCompensation: -1
378
+ MaxApertureValue: 4.5
379
+ MeteringMode: Multi-segment
380
+ LightSource: Unknown
381
+ Flash: Off, Did not fire
382
+ FocalLength: 75.0 mm
383
+ SubjectArea: 1504 1000 256 304
384
+ MakerNoteVersion: MLT0
385
+ MinoltaImageSize: Large
386
+ WhiteBalance: Auto
387
+ FocusMode: AF-A
388
+ AFPoints: Center
389
+ FlashMode: Normal
390
+ ISOSetting: 400
391
+ FreeMemoryCardImages: 202
392
+ HueAdjustment: 0
393
+ Rotation: Horizontal (normal)
394
+ ImageNumber: 6
395
+ NoiseReduction: Unknown (2)
396
+ ImageNumber2: 50
397
+ ZoneMatchingOn: 'Off'
398
+ CompressedImageSize: 1598477
399
+ PreviewImageStart: 39152
400
+ PreviewImageLength: 0
401
+ SceneMode: Standard
402
+ ColorMode: Natural sRGB
403
+ MinoltaQuality: Fine
404
+ FlashExposureComp: 0
405
+ Teleconverter: None
406
+ ImageStabilization: 'On'
407
+ ZoneMatching: ISO Setting Used
408
+ ColorTemperature: 0
409
+ LensType: Minolta AF 28-135mm F4-4.5 or Sigma Lens
410
+ UserComment: ''
411
+ FlashpixVersion: 100
412
+ ColorSpace: sRGB
413
+ ExifImageWidth: 3008
414
+ ExifImageHeight: 2000
415
+ CustomRendered: Normal
416
+ ExposureMode: Auto
417
+ DigitalZoomRatio: 0
418
+ FocalLengthIn35mmFormat: 112 mm
419
+ SceneCaptureType: Standard
420
+ GainControl: Low gain up
421
+ Contrast: Normal
422
+ Saturation: Normal
423
+ Sharpness: Normal
424
+ PrintIMVersion: 300
425
+ Compression: JPEG (old-style)
426
+ ThumbnailOffset: 39274
427
+ ThumbnailLength: 1820
428
+ CurrentIPTCDigest: dd8d51d28ddf04f08f870e5ff2f64d01
429
+ Keywords:
430
+ - Orange
431
+ - Rot
432
+ ApplicationRecordVersion: 4
433
+ SupplementalCategories: Natur
434
+ XMPToolkit: Image::ExifTool 7.03
435
+ Title: Abenddämmerung
436
+ ImageWidth: 300
437
+ ImageHeight: 199
438
+ EncodingProcess: Baseline DCT, Huffman coding
439
+ BitsPerSample: 8
440
+ ColorComponents: 3
441
+ YCbCrSubSampling: YCbCr4:2:0 (2 2)
442
+ Aperture: 9.5
443
+ ImageSize: 300x199
444
+ LensID: Minolta AF 28-135mm F4-4.5
445
+ Megapixels: 0.06
446
+ ScaleFactor35efl: 1.5
447
+ ShutterSpeed: !ruby/object:Rational
448
+ denominator: 60
449
+ numerator: 1
450
+ ThumbnailImage: "(Binary data 1820 bytes, use -b option to extract)"
451
+ CircleOfConfusion: 0.020 mm
452
+ FOV: 18.3 deg
453
+ FocalLength35efl: '75.0 mm (35 mm equivalent: 112.0 mm)'
454
+ HyperfocalDistance: 29.43 m
455
+ LightValue: 10.4
456
+ ---
457
+ sample: read test_coordinates.jpg
458
+ result:
459
+ ExifToolVersion: 10.55
460
+ FileSize: 251 kB
461
+ FileType: JPEG
462
+ FileTypeExtension: jpg
463
+ MIMEType: image/jpeg
464
+ ExifByteOrder: Big-endian (Motorola, MM)
465
+ ImageDescription: clip
466
+ Orientation: Horizontal (normal)
467
+ XResolution: 72
468
+ YResolution: 72
469
+ ResolutionUnit: inches
470
+ YCbCrPositioning: Centered
471
+ ExposureTime: !ruby/object:Rational
472
+ denominator: 30
473
+ numerator: 1
474
+ FNumber: 2.4
475
+ ExposureProgram: Program AE
476
+ ISO: 400
477
+ ExifVersion: '0221'
478
+ ComponentsConfiguration: Y, Cb, Cr, -
479
+ ShutterSpeedValue: !ruby/object:Rational
480
+ denominator: 30
481
+ numerator: 1
482
+ ApertureValue: 2.4
483
+ BrightnessValue: 1.954376479
484
+ MeteringMode: Multi-segment
485
+ Flash: Off, Did not fire
486
+ FocalLength: 4.1 mm
487
+ SubjectArea: 519 403 239 180
488
+ UserComment: clip
489
+ FlashpixVersion: 100
490
+ ColorSpace: sRGB
491
+ ExifImageWidth: 1280
492
+ ExifImageHeight: 720
493
+ SensingMethod: One-chip color area
494
+ ExposureMode: Auto
495
+ WhiteBalance: Auto
496
+ FocalLengthIn35mmFormat: 35 mm
497
+ SceneCaptureType: Standard
498
+ GPSLatitudeRef: North
499
+ GPSLongitudeRef: West
500
+ GPSAltitude: 0 m
501
+ GPSTimeStamp: '00:00:00'
502
+ GPSDOP: 0
503
+ Compression: JPEG (old-style)
504
+ ThumbnailOffset: 766
505
+ ThumbnailLength: 3831
506
+ ImageWidth: 1280
507
+ ImageHeight: 720
508
+ EncodingProcess: Baseline DCT, Huffman coding
509
+ BitsPerSample: 8
510
+ ColorComponents: 3
511
+ YCbCrSubSampling: YCbCr4:2:0 (2 2)
512
+ Aperture: 2.4
513
+ GPSLatitude: 43 deg 39' 11.40" N
514
+ GPSLongitude: 79 deg 22' 23.40" W
515
+ GPSPosition: 43 deg 39' 11.40" N, 79 deg 22' 23.40" W
516
+ ImageSize: 1280x720
517
+ Megapixels: 0.922
518
+ ScaleFactor35efl: 8.5
519
+ ShutterSpeed: !ruby/object:Rational
520
+ denominator: 30
521
+ numerator: 1
522
+ ThumbnailImage: "(Binary data 3831 bytes, use -b option to extract)"
523
+ CircleOfConfusion: 0.004 mm
524
+ FOV: 54.4 deg
525
+ FocalLength35efl: '4.1 mm (35 mm equivalent: 35.0 mm)'
526
+ HyperfocalDistance: 2.00 m
527
+ LightValue: 5.4
528
+ ---
529
+ sample: read test_encodings.jpg
530
+ result:
531
+ ExifToolVersion: 10.55
532
+ FileSize: 660 bytes
533
+ FileType: JPEG
534
+ FileTypeExtension: jpg
535
+ MIMEType: image/jpeg
536
+ CurrentIPTCDigest: '09b79ab4703f3570ba3140ffc2dba2f6'
537
+ ObjectName: Mšhre
538
+ ApplicationRecordVersion: 4
539
+ ImageWidth: 1
540
+ ImageHeight: 1
541
+ EncodingProcess: Baseline DCT, Huffman coding
542
+ BitsPerSample: 8
543
+ ColorComponents: 3
544
+ YCbCrSubSampling: YCbCr4:2:0 (2 2)
545
+ ImageSize: 1x1
546
+ Megapixels: 1.0e-06
547
+ ---
548
+ sample: read test_special_dates.jpg
549
+ result:
550
+ ExifToolVersion: 10.55
551
+ FileSize: 3.7 kB
552
+ FileType: JPEG
553
+ FileTypeExtension: jpg
554
+ MIMEType: image/jpeg
555
+ ExifByteOrder: Big-endian (Motorola, MM)
556
+ XResolution: 72
557
+ YResolution: 72
558
+ ResolutionUnit: inches
559
+ ModifyDate: false
560
+ YCbCrPositioning: Centered
561
+ ExifVersion: 220
562
+ DateTimeOriginal: 1961-08-13 12:08:25.000000000 +01:00
563
+ ComponentsConfiguration: Y, Cb, Cr, -
564
+ FlashpixVersion: 100
565
+ ColorSpace: Uncalibrated
566
+ PreviewDateTime: 1961-08-13 12:08:25.000000000 +01:00
567
+ ImageWidth: 300
568
+ ImageHeight: 199
569
+ EncodingProcess: Baseline DCT, Huffman coding
570
+ BitsPerSample: 8
571
+ ColorComponents: 3
572
+ YCbCrSubSampling: YCbCr4:2:0 (2 2)
573
+ ImageSize: 300x199
574
+ Megapixels: 0.06
metadata CHANGED
@@ -1,45 +1,45 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_exiftool
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.2
4
+ version: 2.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Friedrich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-15 00:00:00.000000000 Z
11
+ date: 2017-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rim
14
+ name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '2.10'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '2.10'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
28
+ name: rim
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '2.15'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '2.15'
41
41
  - !ruby/object:Gem::Dependency
42
- name: regtest
42
+ name: test-unit
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -53,19 +53,19 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: test-unit
56
+ name: regtest
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '1.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '1.0'
69
69
  description: |
70
70
  This library is a wrapper for the ExifTool command-line application
71
71
  (http://www.sno.phy.queensu.ca/~phil/exiftool) written by Phil Harvey.
@@ -76,8 +76,10 @@ executables: []
76
76
  extensions: []
77
77
  extra_rdoc_files: []
78
78
  files:
79
+ - "./.aspell.pws"
79
80
  - COPYING
80
81
  - Changelog
82
+ - Gemfile
81
83
  - README.md
82
84
  - Rakefile
83
85
  - Tutorial.md
@@ -87,6 +89,9 @@ files:
87
89
  - examples/shift_time.rb
88
90
  - examples/show_speedup_with_fast_option.rb
89
91
  - lib/mini_exiftool.rb
92
+ - mini_exiftool.gemspec
93
+ - regtest/read_all.rb
94
+ - regtest/read_all.yml
90
95
  - test/data/Bad_PreviewIFD.jpg
91
96
  - test/data/Canon.jpg
92
97
  - test/data/INFORMATION
@@ -146,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
151
  version: '0'
147
152
  requirements: []
148
153
  rubyforge_project:
149
- rubygems_version: 2.6.12
154
+ rubygems_version: 2.6.13
150
155
  signing_key:
151
156
  specification_version: 4
152
157
  summary: This library is a wrapper for the ExifTool command-line application (http://www.sno.phy.queensu.ca/~phil/exiftool).