rjhead 2.88.1 → 2.88.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +0 -1
- data/VERSION +1 -1
- data/bin/jhead +0 -0
- data/rjhead.gemspec +4 -21
- metadata +6 -24
- data/ext/changes.txt +0 -351
- data/ext/exif.c +0 -1629
- data/ext/extconf.rb +0 -0
- data/ext/gpsinfo.c +0 -217
- data/ext/iptc.c +0 -205
- data/ext/jhead.1 +0 -409
- data/ext/jhead.c +0 -1697
- data/ext/jhead.h +0 -251
- data/ext/jhead.spec +0 -149
- data/ext/jpgfile.c +0 -738
- data/ext/make.bat +0 -1
- data/ext/makefile +0 -23
- data/ext/makefile-win32 +0 -27
- data/ext/makernote.c +0 -184
- data/ext/myglob.c +0 -305
- data/ext/paths.c +0 -140
- data/ext/readme.txt +0 -60
- data/ext/usage.html +0 -469
- data/setup.rake +0 -1
data/Rakefile
CHANGED
@@ -11,7 +11,6 @@ begin
|
|
11
11
|
gem.homepage = "http://github.com/michaeldwan/rjhead"
|
12
12
|
gem.authors = ["Michael Dwan"]
|
13
13
|
gem.add_development_dependency "thoughtbot-shoulda"
|
14
|
-
gem.extensions << 'ext/extconf.rb'
|
15
14
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
16
15
|
end
|
17
16
|
rescue LoadError
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.88.
|
1
|
+
2.88.2
|
data/bin/jhead
ADDED
Binary file
|
data/rjhead.gemspec
CHANGED
@@ -5,14 +5,15 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rjhead}
|
8
|
-
s.version = "2.88.
|
8
|
+
s.version = "2.88.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Michael Dwan"]
|
12
12
|
s.date = %q{2009-12-23}
|
13
|
+
s.default_executable = %q{jhead}
|
13
14
|
s.description = %q{stuff}
|
14
15
|
s.email = %q{mpdwan@gmail.com}
|
15
|
-
s.
|
16
|
+
s.executables = ["jhead"]
|
16
17
|
s.extra_rdoc_files = [
|
17
18
|
"LICENSE",
|
18
19
|
"README.rdoc"
|
@@ -24,27 +25,9 @@ Gem::Specification.new do |s|
|
|
24
25
|
"README.rdoc",
|
25
26
|
"Rakefile",
|
26
27
|
"VERSION",
|
27
|
-
"
|
28
|
-
"ext/exif.c",
|
29
|
-
"ext/extconf.rb",
|
30
|
-
"ext/gpsinfo.c",
|
31
|
-
"ext/iptc.c",
|
32
|
-
"ext/jhead.1",
|
33
|
-
"ext/jhead.c",
|
34
|
-
"ext/jhead.h",
|
35
|
-
"ext/jhead.spec",
|
36
|
-
"ext/jpgfile.c",
|
37
|
-
"ext/make.bat",
|
38
|
-
"ext/makefile",
|
39
|
-
"ext/makefile-win32",
|
40
|
-
"ext/makernote.c",
|
41
|
-
"ext/myglob.c",
|
42
|
-
"ext/paths.c",
|
43
|
-
"ext/readme.txt",
|
44
|
-
"ext/usage.html",
|
28
|
+
"bin/jhead",
|
45
29
|
"lib/rjhead.rb",
|
46
30
|
"rjhead.gemspec",
|
47
|
-
"setup.rake",
|
48
31
|
"test/rjhead_test.rb",
|
49
32
|
"test/test_helper.rb"
|
50
33
|
]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rjhead
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.88.
|
4
|
+
version: 2.88.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Dwan
|
@@ -10,7 +10,7 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
|
12
12
|
date: 2009-12-23 00:00:00 -06:00
|
13
|
-
default_executable:
|
13
|
+
default_executable: jhead
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thoughtbot-shoulda
|
@@ -24,10 +24,10 @@ dependencies:
|
|
24
24
|
version:
|
25
25
|
description: stuff
|
26
26
|
email: mpdwan@gmail.com
|
27
|
-
executables:
|
27
|
+
executables:
|
28
|
+
- jhead
|
29
|
+
extensions: []
|
28
30
|
|
29
|
-
extensions:
|
30
|
-
- ext/extconf.rb
|
31
31
|
extra_rdoc_files:
|
32
32
|
- LICENSE
|
33
33
|
- README.rdoc
|
@@ -38,27 +38,9 @@ files:
|
|
38
38
|
- README.rdoc
|
39
39
|
- Rakefile
|
40
40
|
- VERSION
|
41
|
-
-
|
42
|
-
- ext/exif.c
|
43
|
-
- ext/extconf.rb
|
44
|
-
- ext/gpsinfo.c
|
45
|
-
- ext/iptc.c
|
46
|
-
- ext/jhead.1
|
47
|
-
- ext/jhead.c
|
48
|
-
- ext/jhead.h
|
49
|
-
- ext/jhead.spec
|
50
|
-
- ext/jpgfile.c
|
51
|
-
- ext/make.bat
|
52
|
-
- ext/makefile
|
53
|
-
- ext/makefile-win32
|
54
|
-
- ext/makernote.c
|
55
|
-
- ext/myglob.c
|
56
|
-
- ext/paths.c
|
57
|
-
- ext/readme.txt
|
58
|
-
- ext/usage.html
|
41
|
+
- bin/jhead
|
59
42
|
- lib/rjhead.rb
|
60
43
|
- rjhead.gemspec
|
61
|
-
- setup.rake
|
62
44
|
- test/rjhead_test.rb
|
63
45
|
- test/test_helper.rb
|
64
46
|
has_rdoc: true
|
data/ext/changes.txt
DELETED
@@ -1,351 +0,0 @@
|
|
1
|
-
****************************************************
|
2
|
-
***** Detailed change log - since version 1.2 *****
|
3
|
-
***** In cronological order, oldest to newest *****
|
4
|
-
****************************************************
|
5
|
-
|
6
|
-
Jun 3 2001:
|
7
|
-
Added -dc option for deleting all comments
|
8
|
-
|
9
|
-
Jun 5 2001:
|
10
|
-
No longer clip comment length at 200 characters on display
|
11
|
-
|
12
|
-
Jul 16 2001
|
13
|
-
Follow TIFF link correctly
|
14
|
-
Save thumbnail option added
|
15
|
-
(Thanks Michal D Hughes for his help mdh(a)logcabin.woods.bridge.com)
|
16
|
-
|
17
|
-
Aug 8 & 9 2001
|
18
|
-
Transfer exif header option added.
|
19
|
-
Moved relative path & discard all but jpeg stuff in separate functions
|
20
|
-
Changed ISO heuristic to deal with ISo < 80 better
|
21
|
-
(Thanks Harry TsaiHarryTsai(a)alum.mit.edu)
|
22
|
-
|
23
|
-
Agust 12 2001
|
24
|
-
Testing under Linux, minor fixups.
|
25
|
-
|
26
|
-
-------Released version 1.3-------
|
27
|
-
|
28
|
-
August 26 2001
|
29
|
-
Fixed problem where thumbnails in big endian files were not saved right.
|
30
|
-
(thanks Joe Steele [joe(a)madewell.com])
|
31
|
-
|
32
|
-
Sept 1 2001
|
33
|
-
Added command line option to remove exif section entirely.
|
34
|
-
Added time / time-zone adjust option.
|
35
|
-
|
36
|
-
Sept 9 2001
|
37
|
-
Avoid renaming file with right name again with -n option
|
38
|
-
Change name of SetFileTime variable to not conflict with windows.
|
39
|
-
|
40
|
-
Oct 9 2001
|
41
|
-
Added option to set exif timestamp to absolute time
|
42
|
-
Added option to save thumbnail to stdout (unix only)
|
43
|
-
(thanks Nathan Schmidt [mailto:nathan(a)cs.stanford.edu])
|
44
|
-
Fixed bug in parsing truncated exif headers
|
45
|
-
(thanks Joachim.Geyer(a)djh-freeweb.de)
|
46
|
-
Got rid of strnprintf (not avilable on FreeBSD 4.4)
|
47
|
-
|
48
|
-
-------Released version 1.4-------
|
49
|
-
|
50
|
-
Oct 10 2001
|
51
|
-
More improved handling of truncated exif headers - as may be produced
|
52
|
-
by -dt option in older versions of this program.
|
53
|
-
|
54
|
-
Oct 18 2001
|
55
|
-
Fixed bug in -ts option where '-' causes scanf to treat parms as negative.
|
56
|
-
(thanks Pete Ashdon [mailto:pashdown(a)xmission.com])
|
57
|
-
|
58
|
-
Oct 25 2001
|
59
|
-
Added -ce option
|
60
|
-
|
61
|
-
-------Released version 1.5-------
|
62
|
-
|
63
|
-
Dec 26 2001
|
64
|
-
Added -V (version) option
|
65
|
-
Added -exonly (exif only) option
|
66
|
-
|
67
|
-
|
68
|
-
Jan 2 2002:
|
69
|
-
Fixed lots of typos (Thanks, David Baker [mailto:dave(a)dsb3.com])
|
70
|
-
|
71
|
-
Jan 12: 2002
|
72
|
-
Use EDITOR environment variable to pick which editor (Instead of notpead or VI)
|
73
|
-
|
74
|
-
Jan 13: 2002
|
75
|
-
Improved thumbnail deletion feature - now not just shortens the header, but
|
76
|
-
also removes pointers to the thumbnail form the exif header.
|
77
|
-
|
78
|
-
|
79
|
-
-------Released version 1.6-------
|
80
|
-
|
81
|
-
Jan 29 2002
|
82
|
-
Use adjusted date instead of original date when -ta is used in combination
|
83
|
-
with -ft or -n options
|
84
|
-
|
85
|
-
Feb 25 2002
|
86
|
-
Added image orientation display to summary
|
87
|
-
|
88
|
-
April 22 2002
|
89
|
-
Changed 35mm equivalent focal calculation to use 36mm instead of 35mm for 35mm
|
90
|
-
negative width (35 mm negative frames are 36 mm wide)
|
91
|
-
|
92
|
-
April 28 2002
|
93
|
-
Split jhead.c int jhead.c and jpgfile.c. Jpgfile.c contains jpeg manipulation
|
94
|
-
code that is reusable outside of jhead, while jhead.c contains code specific
|
95
|
-
to jhead (command line parsing, display)
|
96
|
-
|
97
|
-
May 11 2002
|
98
|
-
Fix bug in -dt option that rears its ugly head if the directories are in the
|
99
|
-
exif header out of order.
|
100
|
-
|
101
|
-
-------Released version 1.7-------
|
102
|
-
|
103
|
-
June 3 2002
|
104
|
-
Ignore undefined bits of "flash used" tag, as cannon sets them nonzero, causing
|
105
|
-
jhead to indicate flash used when it wasn't with some Canon models.
|
106
|
-
|
107
|
-
Jul 7 2002
|
108
|
-
-------Released version 1.8-------
|
109
|
-
|
110
|
-
Sept 8 2002
|
111
|
-
makehtml now also lists .avi files as video clips
|
112
|
-
|
113
|
-
Sept 11 2002
|
114
|
-
Handle first IFD offset != 8, as comes out of Pentax Optio 230 camera.
|
115
|
-
|
116
|
-
Sept 13 2002
|
117
|
-
Show 4 digits of past decimal if exposrure time is less than 0.01 sec.
|
118
|
-
|
119
|
-
Sept 25 2002
|
120
|
-
Integrate patch from James R Van Zandt to allow inclusion of original name
|
121
|
-
when '%f' is part of rename format string.
|
122
|
-
|
123
|
-
Dec 11 2002
|
124
|
-
-------Released version 1.9-------
|
125
|
-
|
126
|
-
Oct 8 2002
|
127
|
-
Minor changes where newlines are printed.
|
128
|
-
Added check to warn about wiping out the originals with the -st option.
|
129
|
-
|
130
|
-
Oct 9 2002
|
131
|
-
Fixed display of "flash used=no" for exif headers generated by photoshop.
|
132
|
-
|
133
|
-
Oct 13 2002
|
134
|
-
Added -ci and -cs options.
|
135
|
-
|
136
|
-
March 3 2003
|
137
|
-
Limit directory recursion depth to avoid crashing on circularly linked
|
138
|
-
directories within the Exif header.
|
139
|
-
|
140
|
-
April 6 2003
|
141
|
-
Added automatic rottion (-autorotate) to right-up images that contain
|
142
|
-
a rotation tag from the camera.
|
143
|
-
|
144
|
-
*Finally* wrote a nice MAN page for jhead.
|
145
|
-
|
146
|
-
-------Released version 2.0 -- April 2003 -------
|
147
|
-
|
148
|
-
Dec ?? 2003
|
149
|
-
Set all copies of the date to same value when setting or modifying.
|
150
|
-
(I intentionally only set one, but too may people considered this a bug)
|
151
|
-
|
152
|
-
Dec 28 2003
|
153
|
-
fixed unix makefile
|
154
|
-
|
155
|
-
Dec 29 2003
|
156
|
-
added -cl (insert comment literal) option
|
157
|
-
|
158
|
-
Jan 8 2004
|
159
|
-
Added -norot (zero out rotation tag) option
|
160
|
-
|
161
|
-
-------Released version 2.1 -- Jan 2004 -------
|
162
|
-
|
163
|
-
Jan 12
|
164
|
-
Added handling of explicit 35mm equivalent tag
|
165
|
-
fixed inconsistency in computing 35 mm equivalent focal lengths between
|
166
|
-
concise and regular output.
|
167
|
-
|
168
|
-
Jan 17
|
169
|
-
Impelemented optoin to supress file date display, for regression tests.
|
170
|
-
|
171
|
-
Feb 1
|
172
|
-
Better indentatin of verbose option, rudementary canon maker not parsing
|
173
|
-
|
174
|
-
March
|
175
|
-
Various spelling errors fixed in output strings, and
|
176
|
-
jpeg --> JPEG, exif --> Exif
|
177
|
-
|
178
|
-
April 13
|
179
|
-
Use '-outfile' command line option of jpegtran when launching jpegtran to
|
180
|
-
do rotation so that syntax of launched command is same on Windows and Unix.
|
181
|
-
|
182
|
-
April 19
|
183
|
-
Various spelling fixes in manapge.
|
184
|
-
|
185
|
-
Jun 20
|
186
|
-
Added ability to do sequencial renaming ('%i' in format string for -n option)
|
187
|
-
|
188
|
-
-------Released version 2.2 -- Jun 2004 ----------
|
189
|
-
|
190
|
-
Handle some oddities - like '/' separators in date fields, or images with
|
191
|
-
an orientation tag for the thumbnail.
|
192
|
-
|
193
|
-
Increase maximum number of jpeg sections to 40 from 20
|
194
|
-
|
195
|
-
Dec 3
|
196
|
-
Don't try to write to readonly files.
|
197
|
-
Use changed copy of date/time for rename and file time set operations
|
198
|
-
|
199
|
-
Dec 25
|
200
|
-
Added -purejpg and -du options
|
201
|
-
|
202
|
-
Dec 28
|
203
|
-
More details on flash usage.
|
204
|
-
Show digital zoom ratio
|
205
|
-
Don't show jpeg process if it's baseline (almost always is)
|
206
|
-
|
207
|
-
-------Released version 2.3 -- Jan 2005 ----------
|
208
|
-
|
209
|
-
Jan 14 2005
|
210
|
-
Display GPS info if included in image
|
211
|
-
|
212
|
-
Feb 27 2004
|
213
|
-
Fix some time reference confusion bugs relating to -ta option
|
214
|
-
|
215
|
-
May 29 2005
|
216
|
-
Added -da option for easier adjusting of date/time by large amounts.
|
217
|
-
|
218
|
-
-------Released version 2.4 -- May 2005 ----------
|
219
|
-
|
220
|
-
Jun 06 2005
|
221
|
-
Fix -da option
|
222
|
-
|
223
|
-
-------Released version 2.4-1 -- Jun 09 2005 --------
|
224
|
-
|
225
|
-
Jun 10 2005
|
226
|
-
Removed some debug printf I accidentally left in!
|
227
|
-
|
228
|
-
-------Released version 2.4-2 -- Jun 10 2005 --------
|
229
|
-
|
230
|
-
August 8 2005
|
231
|
-
Avoid duplicating exif header on some commands
|
232
|
-
|
233
|
-
Sept 11 2005
|
234
|
-
Fix up return codes.
|
235
|
-
|
236
|
-
Oct 8 2005
|
237
|
-
Preserve file permissions and time when files are modified.
|
238
|
-
|
239
|
-
Oct 29 2005
|
240
|
-
Read ISO euqivalnt and white balance from canon makernote
|
241
|
-
|
242
|
-
Nov 5 2005
|
243
|
-
Added -rt (replace thumbnail) feature, and rotate the thumbnail also
|
244
|
-
when using the -autorot feature
|
245
|
-
|
246
|
-
Dec 28 2005
|
247
|
-
Added -rgt (regenerate thumbnail) feature.
|
248
|
-
Added -orp and -orl options
|
249
|
-
|
250
|
-
-------Released version 2.5 -- Jan 8 2006 --------
|
251
|
-
Jan 28 2006
|
252
|
-
Fix typecast issue run itno with GCC 4
|
253
|
-
|
254
|
-
Feb 17 2006
|
255
|
-
Fix shutter speed display in '-c' mode for very long shutter speeds
|
256
|
-
|
257
|
-
Feb 26 2006
|
258
|
-
Fix some nitpicks from Debian folks
|
259
|
-
|
260
|
-
Mar 6 2006
|
261
|
-
Fix a bug in autorot when rotating filenames with spaces in them.
|
262
|
-
|
263
|
-
April 2 2006
|
264
|
-
Improved handling of corrupt exif linkages in exif header
|
265
|
-
|
266
|
-
April 3 2006
|
267
|
-
Added -a (rename associated files) options
|
268
|
-
|
269
|
-
-------Released version 2.6 -- April 29 2006 --------
|
270
|
-
|
271
|
-
Sept 9 2006
|
272
|
-
Remove maximum jpeg sections limit
|
273
|
-
|
274
|
-
Sept 10 2006
|
275
|
-
Added -ds option
|
276
|
-
|
277
|
-
Oct 18 2006
|
278
|
-
On clearing rotation, clear the image and the optinoal thumbnail rotation tags.
|
279
|
-
(some viewers use the wrong tag)
|
280
|
-
|
281
|
-
Dec 29 2006
|
282
|
-
Add -mkexif option to make a new exif header.
|
283
|
-
|
284
|
-
-------Released version 2.7 -- Jan 11 2007 --------
|
285
|
-
|
286
|
-
Feb 10 2007
|
287
|
-
Added IPTC handling
|
288
|
-
|
289
|
-
Feb 11 2007
|
290
|
-
Added -q option
|
291
|
-
|
292
|
-
Feb 17 2007
|
293
|
-
Fix handling of corrupted GPS directory.
|
294
|
-
|
295
|
-
Feb 18 2007
|
296
|
-
Extract focus distance from canon makernote.
|
297
|
-
|
298
|
-
Jun 3 2007
|
299
|
-
Extract subject range (pentax and fuji cameras)
|
300
|
-
|
301
|
-
-------Released version 2.8 -- Nov 13 2007 --------
|
302
|
-
|
303
|
-
Feb 14 2008
|
304
|
-
Fix it so it no longer deletex XMP sections
|
305
|
-
Improve IPTC handling a little
|
306
|
-
|
307
|
-
March 3 2008
|
308
|
-
Change how date is encoded with -mkexif section to make it more compatible.
|
309
|
-
Make jhead aware of XMP data and not delete it.
|
310
|
-
|
311
|
-
-------Released version 2.82 -- Apr 03 2008 --------
|
312
|
-
|
313
|
-
May 8 2008
|
314
|
-
Decode more exif tags for '-v' mode.
|
315
|
-
|
316
|
-
Sep 23 2008
|
317
|
-
Fix a bunch of potential string overflows
|
318
|
-
|
319
|
-
Oct 1 2008
|
320
|
-
Fix bug where IPTC sction was not deleted by -purejpg
|
321
|
-
Fix GPS altitude decode bug
|
322
|
-
|
323
|
-
-------Released version 2.84 -- Oct 4 2008 --------
|
324
|
-
|
325
|
-
Jan 15 2008
|
326
|
-
Fix bug with -ce introduced as a result of putting all the security
|
327
|
-
checks the debian people wanted.
|
328
|
-
|
329
|
-
Feb 2 2008
|
330
|
-
Added the ability to move files with the -n option. (makes directories if necessary)
|
331
|
-
|
332
|
-
Various minor typo and documentation fixes.
|
333
|
-
|
334
|
-
-------Released version 2.86 -- Feb 14 2009 --------
|
335
|
-
|
336
|
-
Fixed an #ifdef that I had defined the wrong way, causing the -ce option to fail.
|
337
|
-
|
338
|
-
-------Released version 2.87 -- Mar 03 2009 --------
|
339
|
-
|
340
|
-
May 2009:
|
341
|
-
A few more tags recognized with jhead -v
|
342
|
-
Accept strange date encoding of LG VX-9700
|
343
|
-
Fix metering mode display
|
344
|
-
Fix crash bug on corrupted jpeg
|
345
|
-
Deal better with extra padding bytes between jpeg markers
|
346
|
-
|
347
|
-
Nov 3 2009:
|
348
|
-
Now preserve resoltuion units of jfif header, or set them with info from exif header.
|
349
|
-
|
350
|
-
|
351
|
-
-------Released version 2.88 -- Nov 6 2009 --------
|