gallery.1188741997.txt.gz · Last modified: 2018/12/30 00:15 (external edit) 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gallery [2007/09/02 16:06]
herman
gallery [2018/12/30 00:13] (current)
Line 39: Line 39:
 djpeg osmall_img_8692.jpg|/​usr/​bin/​pnmscale -xsize 150 | /​usr/​bin/​cjpeg > othumb_img_8692.jpg djpeg osmall_img_8692.jpg|/​usr/​bin/​pnmscale -xsize 150 | /​usr/​bin/​cjpeg > othumb_img_8692.jpg
  
-Commands I use in my old scripts:\\ +In my old scripts ​I used the Imagemagick modules for Perl.
-djpeg "​$sourceimagefullpath"​ |/​usr/​bin/​pnmscale -xsize $xsize |/​usr/​bin/​cjpeg > "​$targetimagefullpath"​\\ +
-jpegtran -rotate $degrees "​$targetimagefullpath"​ > /​tmp/​fluppie.jpg && mv /​tmp/​fluppie.jpg "​$targetimagefullpath"​\\ +
-djpeg "​$sourceimagefullpath"​ | /​usr/​bin/​pnmscale -xsize 150 | /​usr/​bin/​cjpeg > "​$targetimagefullpath"​+
  
 The new plan works, currently running on 4000 images to test how robust it is. Now find a tool to add the degrees to the EXIF info of the original jpegs. And for this I have a proof of concept script on the shelf, testing will be another day.\\ The new plan works, currently running on 4000 images to test how robust it is. Now find a tool to add the degrees to the EXIF info of the original jpegs. And for this I have a proof of concept script on the shelf, testing will be another day.\\
Line 48: Line 45:
 Ok, Trying to use [[http://​www.sno.phy.queensu.ca/​~phil/​exiftool/​|exiftool]]. One issue that bugs me is that the jpegs shrink because of using [[http://​www.sno.phy.queensu.ca/​~phil/​exiftool/​|exiftool]]... Kind of distressing.\\ Ok, Trying to use [[http://​www.sno.phy.queensu.ca/​~phil/​exiftool/​|exiftool]]. One issue that bugs me is that the jpegs shrink because of using [[http://​www.sno.phy.queensu.ca/​~phil/​exiftool/​|exiftool]]... Kind of distressing.\\
 [[http://​www.sno.phy.queensu.ca/​~phil/​exiftool/​writing.html|Information on this subject]] (writing Exif) worth reading. [[http://​www.sno.phy.queensu.ca/​~phil/​exiftool/​writing.html|Information on this subject]] (writing Exif) worth reading.
 +
 +Status:
 +  * Made a back-up of all the photos.
 +  * Found a new tool that writes the orientation without changing filesize (makes me feel warm and fuzzy inside): jpegexiforient.
 +  * Orientation finding is not working too great on older images, I'm guessing a difference in compression is causing contiuous mismatches, even on not rotated images.
  
 

Author Herman Kopinga. This work is licensed under a Creative Commons License.
Created with Dokuwiki, layout using XHTML 1.0 and stylesheets, follow changes through rrs.