The title says much, but I'll explain in detail a little more.

I need to stretch an image in one dimension only. That is, if the image is for example, 100x100 (Width x Height) I need it to be 100x104 (Width x Height).

It would be perfect if it could be stretched by a certain percent (instead of putting in dimensions in pixels).

Anyone know how this could be done an in what? I tried looking in ImageMagick set of tools, but didn't find anything that I could use (not saying I didn't miss it in there though).

In any case, would appreciate all the help I can get.

link|improve this question

58% accept rate
feedback

2 Answers

up vote 5 down vote accepted

Putting ! after the geometry will do an anisotropic resize. Note that you may need to escape it due to the shell.

link|improve this answer
Seems like what I want. Could you be so kind as to give an example of usage? – Rook Nov 19 '10 at 14:54
From the link: convert dragon.gif -resize 64x64\! exact_dragon.gif – Ignacio Vazquez-Abrams Nov 19 '10 at 14:56
Nice job +1 for that! – David Nov 19 '10 at 20:30
feedback

I would use Gimp. Gimp is the open source version of Photoshop. It is very easy to use. This tool will do everything you need and more...

link|improve this answer
But how does he resize in one dimension? ;-) – Ivo Flipse Dec 17 '10 at 21:34
There is a tool in the Gimps tools menu to re-size an image. There is a link button that will make it not link together so that you can distort an image as you want. – David Dec 21 '10 at 21:52
feedback

Your Answer

 
or
required, but never shown

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