Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
gallery [2007/09/04 22:29] hermangallery [2018/12/30 00:13] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +Om bij te houden wat ze zelf [[http://codex.gallery2.org/index.php/Meeting_Notes|doen]] en de [[http://codex.gallery2.org/index.php/Gallery2:Roadmap:2.2|voortgang]] daarvan.
 +
 +Eindelijk! 2.2.1 is uit met autorotate, webdav *en* dynamische albums... Yaj!
 +
 +  * Thumbnails voor filmpjes.
 +  * Bestandsformaat bij 'download movie'.
 +  * Tags
 +  * [[http://pgtheme.home.sapo.pt/|potential theme]]
 +  * Rotate fixen
 +    * Old plan:
 +      * Selectie foto's maken
 +      * Thumbnails van maken en die 'ergens' neerzetten.
 +      * Thumbnails vergelijken met thumbnails in fotomap.
 +      * Thumbnails die hetzelfde zijn in een lijst zetten: 0 dan die thumbnails verwijderen.
 +      * Thumbnails die overblijven is nieuwe selectie.
 +      * Kopie van thumbnails linksom roteren en 'ergens' neerzetten.
 +      * Thumbnails vergelijken met thumbnails in fotomap.
 +      * Thumbnails die hetzelfde zijn in een lijst zetten: 270 dan die thumbnails verwijderen.
 +      * Thumbnails die overblijven is nieuwe selectie.
 +      * Kopie van 'originele' thumbnails rechtsom roteren en 'ergens' neerzetten.
 +      * Thumbnails vergelijken met thumbnails in fotomap.
 +      * Thumbnails die hetzelfde zijn in een lijst zetten: 90 dan die thumbnails verwijderen.
 +      * Thumbnails die overblijven zijn stuk en moeten met de hand gecontroleerd worden :(
 +    * New plan
 +      * Script which takes a path parameter
 +      * read path
 +      * For each image
 +        * create thumbnail
 +        * compare to already existing thumbnail
 +        * while different but not 360 degrees
 +          * redo but with 90 degrees rotated thumbnail
 +        * write output to logfile
 +      * profit!
 +
 +Tools: [[http://pdiff.sourceforge.net/|Perceptual Image Diff]] of [[http://www.cipr.rpi.edu/~wheeler/icmp/index.html|icmp]].
 +
 +Commands I use in my original scripts:\\
 +djpeg img_8692.jpg|/usr/bin/pnmscale -xsize 800 | /usr/bin/cjpeg > osmall_img_8692.jpg\\
 +djpeg osmall_img_8692.jpg|/usr/bin/pnmscale -xsize 150 | /usr/bin/cjpeg > othumb_img_8692.jpg
 +
 +In my old scripts I used the Imagemagick modules for Perl.
 +
 +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.\\
 +
 +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.
 +
 +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.