Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
terminate called after throwing an instance of 'Magick::ErrorOption'
what(): ImageMagick: image widths or heights differ `./01.gif' @ magick/image.c/AverageImages/802
*** Process aborted ***
ImageMagick retains the aspect ratio of the original image. You need to set the aspect flag to force the image to an exact size. One way, for example, is image.scale("640x480!"). This creates an image at 640x480 regardless of the original aspect ratio of the image.
magick wrote:ImageMagick retains the aspect ratio of the original image. You need to set the aspect flag to force the image to an exact size. One way, for example, is image.scale("640x480!"). This creates an image at 640x480 regardless of the original aspect ratio of the image.
can i set aspect ratio flag to force via scale method which have a parameter a geometry object???