Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

imagemagick

Convert PDF to Image

Using “convert” from “imagemagick” to convert a PDF to Image. Example: convert -geometry 1024×768 -density 200 -colorspace RGB input.pdf output.jpg Or use a other geometry, quality and no color: convert -geometry 2048×1536 -density 400 -colorspace gray input.pdf output.jpg Links: * http://www.imagemagick.org/script/convert.php

, , ,

Resize images (folder) with imagemagick (mogrify)

Before upload pictures to my online gallery i want to resize them to a smaller size. I don’t want to open all with a tool or something. I want to run a small script on my netbook without GUI. First install imagemagick: aptitude install imagemagick Now “cd” into the directory with your images and execute: […]

, , , ,