How to change png file parameter IHDR width using imageshack
Posted: 2016-08-02T04:55:25-07:00
I have a image with X*Y size say 42*42 and I want to change the X part to 384 fixed. I have a sofware which accpets only 384*Y size of images.I can change manually the X to 384 using paint.
Open the image in paint.
press ctrl+e a windows will open with image properties
Change the Width to 384.
It adds some white space to that image. so that my original image doesnt gets altered.
My original image
http://i.stack.imgur.com/kXhet.png
altered picture
http://i.stack.imgur.com/zrH1Y.png
if you download the image then you can find the difference. My question is how can I do it using imagemagick command line.
Open the image in paint.
press ctrl+e a windows will open with image properties
Change the Width to 384.
It adds some white space to that image. so that my original image doesnt gets altered.
My original image
http://i.stack.imgur.com/kXhet.png
altered picture
http://i.stack.imgur.com/zrH1Y.png
if you download the image then you can find the difference. My question is how can I do it using imagemagick command line.