Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
hi all, i'm new to the board and absolutely love the command line ability with this software. i'm working with PHP and utilizing it's exec('') functionality. all i'm trying to do is resize an image, but i don't believe it's working properly. my original image is 1024x1026, and i am trying to resize the image to 1710 x 2200. the command i'm running is:
the resulting image (hpaa1.jpeg) comes out to only 1710x1713. am i misusing the command, or is there another parameter i'm missing? i need the standardized image size (1710x2200) because the software my company is working on depends on that exact size (or something VERY close to it). any and all help is appreciated.
As to size - do you want to distort the image to fit the new size, do you want to crop the image to fit the new size, do you want to get the longest dimension to fit the new size and keep the aspect ratio or pad the image out with a background colour to fit the new size?
I'm on Windows as well snibgo. Thanks very much for both of your insights on my issue. I figured it was a fundamental problem I was having with the command, and not using it properly. Thank you for pointing out how to fix my problem. I'll give it a shot later this evening and report my results.