Unable to generate Output image with specified dimensions
Posted: 2014-12-03T22:42:52-07:00
Hi,
We are trying to convert a image to specific size 500X500 but the output image is having different dimensions.
Ex:
Before conversion:
C:\Users\carterj>identify -verbose C:\Users\carterj\Desktop\IMG_1557.JPG
Image: C:\Users\carterj\Desktop\IMG_1557.JPG
Format: JPEG (Joint Photographic Experts Group JFIF format)
Mime type: image/jpeg
Class: DirectClass
Geometry: 2448x3264+0+0
Command used:
convert C:\Users\carterj\Desktop\IMG_1557.JPG -resize 500X500 C:\Users\carterj\Desktop\IMG_1557_1.JPG
convert -resize 500X500 C:\Users\carterj\Desktop\IMG_1557.JPG C:\Users\carterj\Desktop\IMG_1557_2.JPG
After conversion:
C:\Users\carterj>identify -verbose C:\Users\carterj\Desktop\IMG_1557_1.JPG
Image: C:\Users\carterj\Desktop\IMG_1557_1.JPG
Format: JPEG (Joint Photographic Experts Group JFIF format)
Mime type: image/jpeg
Class: DirectClass
Geometry: 375x500+0+0
We need the output image to have 500X500 dimensions.
Are there any specific options for converting image to specified dimensions......
Thanks in advance.
Regards,
Carter J
We are trying to convert a image to specific size 500X500 but the output image is having different dimensions.
Ex:
Before conversion:
C:\Users\carterj>identify -verbose C:\Users\carterj\Desktop\IMG_1557.JPG
Image: C:\Users\carterj\Desktop\IMG_1557.JPG
Format: JPEG (Joint Photographic Experts Group JFIF format)
Mime type: image/jpeg
Class: DirectClass
Geometry: 2448x3264+0+0
Command used:
convert C:\Users\carterj\Desktop\IMG_1557.JPG -resize 500X500 C:\Users\carterj\Desktop\IMG_1557_1.JPG
convert -resize 500X500 C:\Users\carterj\Desktop\IMG_1557.JPG C:\Users\carterj\Desktop\IMG_1557_2.JPG
After conversion:
C:\Users\carterj>identify -verbose C:\Users\carterj\Desktop\IMG_1557_1.JPG
Image: C:\Users\carterj\Desktop\IMG_1557_1.JPG
Format: JPEG (Joint Photographic Experts Group JFIF format)
Mime type: image/jpeg
Class: DirectClass
Geometry: 375x500+0+0
We need the output image to have 500X500 dimensions.
Are there any specific options for converting image to specified dimensions......
Thanks in advance.
Regards,
Carter J