Medical Nerds Blog Logo

technology, stats and IT for medics


Batch converting images using imagemagick

June 12th, 2010 by Mark · 2 Comments

A quick update to my previous post Batch converting PDF to JPG/JPEG using free software about converting multiple files.

Instead of using convert, one can use the command mogrify:

mogrify -format jpg *.gif

These commands are from the fantastic suite of software known as ImageMagick.

I’m using this to convert the fantastic icons from famfamfam to gif as IE6 (running as the browser of choice on NHS computers – my target browser sadly) has problems with PNG format graphics. This is for my all singing all dancing WebObjects based medical research / patient record online system that is being deployed this month for the first time.

Tags: Graphics

2 responses so far ↓

  • 1 Arpys // Nov 25, 2010 at 10:13 am

    I can not get ImageMagick to work in Mac OS X Snow Leopard. I have tried using it on Windows 7 x64, I tried to use the commands you posted in your older post, but no luck. Where should I put the target file? (I am trying to convert a pdf to jpg, or a multiple page pdf to jpgs)

    Any suggestion?

  • 2 Vanessa Goodfriend // Jan 12, 2011 at 5:13 pm

    Hi Guys,

    I work in affiliation with a network of hospitals with some pretty neat tech. I see you haven’t posted in a while and I hope this will prompt a post or two. Let me know if you are interested in finding out more about my clients’ technologies.


Leave a Comment

(Don't forget to fill in the Captcha)