Resizing image causes corruption (stripes)
Posted: 2011-08-15T11:47:12-07:00
Hi there,
I was a very happy ImageMagick / PythonMagick user until I upgraded to OS X Lion last week. Having reinstalled/upgraded ImageMagick to get it working, I'm now finding my images (particularly ones with a transparency / alpha channel) are corrupted when I try to resize them.
I installed using MacPorts, ImageMagick version 6.7.1-5
Here's an example of the image I'm trying to resize (it's happening on lots of them) (link):
Here's the results I'm seeing (link):
I'm using the 'convert' command - if I just do a straight conversion, then it works fine.
e.g.
If I do it with resizing, then the stripes appear:
I've ruled out any problems with the .PNG exporting side of things, because the same issue occurs if I export as a .JPG too. If I replace the transparent background with white then it all works fine.
I was a very happy ImageMagick / PythonMagick user until I upgraded to OS X Lion last week. Having reinstalled/upgraded ImageMagick to get it working, I'm now finding my images (particularly ones with a transparency / alpha channel) are corrupted when I try to resize them.
I installed using MacPorts, ImageMagick version 6.7.1-5
Here's an example of the image I'm trying to resize (it's happening on lots of them) (link):
Here's the results I'm seeing (link):
I'm using the 'convert' command - if I just do a straight conversion, then it works fine.
e.g.
Code: Select all
convert stream-full-8-correct.png stream-test.jpg
Code: Select all
convert stream-full-8-correct.png -scale 80% stream-test.png