Rotating and flattening produces white image
Posted: 2007-06-04T09:14:25-07:00
I am using ImageMagick 6.3.4 06/01/07 Q16 on Windows.
If I run the following command:
convert test.psd -affine -1,0,0,-1,0,0 -transform rotated.jpg
Then the result is the image rotated (as a jpeg), as expected. However, if I want to flatten the layers, e.g.
convert test.psd -affine -1,0,0,-1,0,0 -transform -flatten rotated-flattened.jpg
then the result is a white image.
This happens regardless of the source format, e.g.
convert test.jpg-affine -1,0,0,-1,0,0 -transform -flatten rotated-flattened.jpg
does the same.
Is this a bug or am I doing something wrong?
Thanks,
Martin
If I run the following command:
convert test.psd -affine -1,0,0,-1,0,0 -transform rotated.jpg
Then the result is the image rotated (as a jpeg), as expected. However, if I want to flatten the layers, e.g.
convert test.psd -affine -1,0,0,-1,0,0 -transform -flatten rotated-flattened.jpg
then the result is a white image.
This happens regardless of the source format, e.g.
convert test.jpg-affine -1,0,0,-1,0,0 -transform -flatten rotated-flattened.jpg
does the same.
Is this a bug or am I doing something wrong?
Thanks,
Martin