linux - How to change the Geometry of bmp image -


i unable change geomentry of bmp image. using imagemagick libraray in ubuntu. have image geometry 268*78 want convert 384*78. using command convert out.bmp -monochrome -resize 384x78 out3.bmp. command doesn't throw error out3.bmp geometry doesnt change. can tell me way change that.

from imagemagick website:

widthxheight maximum values of height , width given, aspect ratio preserved.

try:

widthxheight! width , height emphatically given, original aspect ratio ignored.

convert out.bmp -resize 384x78! -monochrome out3.bmp 

Comments