User:Artemis gryllaki/PrototypingIII

From XPUB & Lens-Based wiki

Publishing an “image gallery”

Imagemagick’s suite of tools includes montage which is quite flexible and useful for making a quick overview page of image.

  • mogrify
  • identify
  • convert
  • Sizing down a bunch of images

Warning: MOGRIFY MODIES THE IMAGES – ERASING THE ORIGINAL – make a copy of the images before you do this!!!

mogrify -resize 1024x *.JPG
Fixing the orientation of images
mogrify -auto-orient *.JPG
Using Montage
montage -label "%f" *.JPG \

   -shadow 
-geometry 1000x1000+100+100
-montage.caption.jpg

Using pdftk to put things together


OCR

tesseract:
In command line: tesseract nameofpicture.png outputbase

Scanning a book page


Output: character recognition with tesseract-ocr / styled with javascript


Screenshot2.png