Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am looking for software (Windows or Linux) that can do the following:

  • Resize one image to several provided sizes.
  • Detects the type of the pic­ture (wide, nor­mal) and does the resize based on that. What I mean by that is that it should not break the image by shrinking it more in one direction then in the other so it looks weird.

The purpose of this is my Blog. If I want to give my readers a wallpaper, I want to give them several options for the sizes so they can have it in their own preferred screen resolution. The image must however keep its original aspect ratio.

Any suggestions?

share|improve this question
    
GIMP has options for scripting and you can re-size and keep ratios. It will have a bit of a learning curve to get it working, but it is a very customizable and powerful option for what you want to do. –  MaQleod Aug 22 '11 at 17:57
add comment

2 Answers

up vote 3 down vote accepted

The Convert command in ImageMagick will do what you want, too, and it's perhaps more suited to use in a script (since it has no GUI components to load). which is seemingly what you want. You can easily resize photos while keeping the aspect ratio, for instance by specifying a width only, or a height only.

share|improve this answer
    
I am using PHP to make a script to resize images I upload to the script with ImageMagick. Good suggestion! –  Jarco Aug 23 '11 at 12:09
add comment

@MaQleod is correct. GIMP will do exactly what you want and it's free. He is also correct regarding the learning curve. If you are more familiar with Adobe's Photoshop product (not free), it can get your task done as well.

share|improve this answer
    
Could you elaborate on how this works in GIMP? (E.g. which options do you need, how can you automate this?) –  slhck Aug 22 '11 at 18:57
    
GIMP's image processing functions use Scheme (gimp.org/tutorials/Basic_Scheme). More information regarding incorporating batch functionality can be found @ gimp.org/tutorials/Basic_Batch. A tutorial which incorporates both including other image filtering can be found @ drupalique.com/story/2011-02-02/…. –  Ben.Vineyard Aug 22 '11 at 19:57
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.