convert -crop png into gif
Posted: 2011-10-12T09:09:42-07:00
Hi all,
I would like to crop and convert a 501x501 png into a 500x500 gif file.
I only want to crop and not re-size as I only want to get rid of the last row and column pixel.
When I try this command:
convert image.png -crop 500x500+0+0 new_image.gif
This gives me a 501x501 gif.
So I tried this:
convert image.png -crop 500x500+0+0 new_image.png
This gives me a 500x500 png.
Now, if I do this:
convert new_image.png new_image.gif
I still end up with a 501x501 gif file.
I must be missing something.
Thanks for your help!
Jerome.
I would like to crop and convert a 501x501 png into a 500x500 gif file.
I only want to crop and not re-size as I only want to get rid of the last row and column pixel.
When I try this command:
convert image.png -crop 500x500+0+0 new_image.gif
This gives me a 501x501 gif.
So I tried this:
convert image.png -crop 500x500+0+0 new_image.png
This gives me a 500x500 png.
Now, if I do this:
convert new_image.png new_image.gif
I still end up with a 501x501 gif file.
I must be missing something.
Thanks for your help!
Jerome.