Difference between revisions of "ImageMagick"

From TheAlmightyGuru
Jump to: navigation, search
Line 1: Line 1:
'''''Imagemagick''''' is a cross-platform image editing program that uses a scripting language to create, edit, and convert many different image formats. It can be run in various different forms including a command-line program, invoked as an object, or as a PHP module.
+
'''''Imagemagick''''' is a cross-platform image editing program that uses a scripting language to create, edit, and convert between over 200 different image formats. It can be run in various forms including a command-line program, invoked as an object, as a PHP module, and various others.
  
 
==Useful Scripts==
 
==Useful Scripts==
===Make Picture Book===
+
===Make a Picture Book===
This script will take a folder full of JPEGs and make a PDF document out the them where there is one image centered on each page. The page size will have a standard letter ratio at 72 DPI.
+
This script will take a folder full of JPEGs and make a PDF document out the them where each page of the PDF has a single image centered on the page. The page size specified here yields a standard letter size (8.5" x 11") at 72 DPI.
  
 
  magick *.jpg -gravity center -extent 612x792 -density 72 output.pdf
 
  magick *.jpg -gravity center -extent 612x792 -density 72 output.pdf

Revision as of 16:23, 14 August 2017

Imagemagick is a cross-platform image editing program that uses a scripting language to create, edit, and convert between over 200 different image formats. It can be run in various forms including a command-line program, invoked as an object, as a PHP module, and various others.

Useful Scripts

Make a Picture Book

This script will take a folder full of JPEGs and make a PDF document out the them where each page of the PDF has a single image centered on the page. The page size specified here yields a standard letter size (8.5" x 11") at 72 DPI.

magick *.jpg -gravity center -extent 612x792 -density 72 output.pdf

Links