Subscribe to RSS Feed

ImageMagick

Feb 16th, 2010 by Joshua Scotton

Had to split a pdf into seperate jpg files for each page earlier and dug up my notes on how to do this.

convert file.pdf file.jpg

Unfortunately the resolution was messed up in the output files so had to do some digging on google to find this forum post which sorted the problem with:

convert -density 400 in.pdf -scale 2000x out.jpgtext

Works a treat. I had figured out the -scale part but the -density bit I had missed. I’ve also been using another ImageMagick command quite a lot recently to prepare folders of photos for Facebook upload. This one changes the source images so best make a copy of the pictures first.

mogrify -resize 800x *.jpg

Off course, these are linux commands so might not work on Windows.

Post to Twitter Post to Delicious Post to Digg Post to Facebook

Tags: , , , , , ,

6 Responses to “ImageMagick”

  1. best weathervane
    October 12, 2011 at 5:22 pm

    Hi there, i read your blog occasionally and i own a similar one and i was just wondering if you get a lot of spam remarks? If so how do you reduce it, any plugin or anything you can advise? I get so much lately it’s driving me insane so any assistance is very much appreciated.

  2. apps
    October 15, 2011 at 10:15 am

    Your site doesn’t render correctly on my iphone4 – you may want to try and repair that

  3. Unlock Bold 9900 & 9000
    October 20, 2011 at 7:06 pm

    This will be a great website, will you be interested in doing an interview regarding how you created it? If so e-mail me!

  4. weathervane rooster
    October 31, 2011 at 12:42 am

    Woah! I’m really digging the template/theme of this blog. It’s simple, yet effective. A lot of times it’s difficult to get that “perfect balance” between user friendliness and appearance. I must say you have done a very good job with this. Also, the blog loads extremely fast for me on Chrome. Excellent Blog!

  5. John Spirkolw
    November 4, 2011 at 6:22 pm

    Hey would you mind sharing which blog platform you’re using? I’m going to start my own blog in the near future but I’m having a tough time selecting between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I’m looking for something unique. P.S Sorry for getting off-topic but I had to ask!

  6. 349Muoio@gmail.com
    December 2, 2011 at 1:50 pm

    I merely wanted to thank you one more time for that amazing web-site you have built here. It is full of useful tips for those who are actually interested in this particular subject, especially this very post. You really are all amazingly sweet plus thoughtful of others in addition to the fact that reading your blog posts is an excellent delight to me. And what a generous surprise! Tom and I usually have fun making use of your recommendations in what we need to do in a few days. Our checklist is a distance long which means your tips might be put to good use.

Leave a Reply

Calendar

February 2012
M T W T F S S
« Dec    
 12345
6789101112
13141516171819
20212223242526
272829