User:Artemis gryllaki/PrototypingIII: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 7: Line 7:
* Sizing down a bunch of images
* Sizing down a bunch of images
Warning: MOGRIFY MODIES THE IMAGES – ERASING THE ORIGINAL – make a copy of the images before you do this!!!<br><br>
Warning: MOGRIFY MODIES THE IMAGES – ERASING THE ORIGINAL – make a copy of the images before you do this!!!<br><br>
mogrify -resize 1024x *.JPG <br>
Fixing the orientation of images<br>
mogrify -auto-orient *.JPG<br>
Using Montage<br>
montage -label "%f" *.JPG \<br>
    -shadow <br>
    -geometry 1000x1000+100+100 <br>
    -montage.caption.jpg<br>
Using pdftk to put things together<br><br>


==Montages==
==Montages==

Revision as of 22:15, 8 July 2019

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!!!

Montages

Montage-try.png
Montage-try3.png






OCR

tesseract:
In command line: tesseract nameofpicture.png outputbase

Scanning a book page


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


Screenshot2.png


Screenshot3.png