Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Finding lost jpg originals

0 views
Skip to first unread message

davidoznot

unread,
Jun 20, 2009, 10:23:41 AM6/20/09
to
Let's say I have a favorite jpeg image scaled down to 640 pixels wide.
This favorite image has a name "myimage.jpg"

But I cannot find the raw original, as it came off the camera.
I suspect I still have this image somewhere, probably with a name
like dscn_1492.jpg

But my home-rolled system of dated holding directories has failed me.
I can't find the original.

Is it possible to write a program (perhaps in bash and perl) that could
read something of the jpeg header of the scaled-down copy, and use that
as a search key for examining all the others?

for file in `find / -name "dscn*jpg"`
do
.....read $file's header, compare that to
specific header parts from the scaled down original
print $file break and exit if comparison is true...
done

....anybody know how to do this?

davidoznot

unread,
Jun 21, 2009, 11:50:21 AM6/21/09
to
davidoznot wrote:

From comp.unix.shell, one good answer:

http://www.sno.phy.queensu.ca/~phil/exiftool/

...this group is about dead I guess.
One post this month, other than mine?

0 new messages