Page 1 of 1

Rotate same image more than once creates blank image

Posted: 2017-08-28T02:53:36-07:00
by manojchaudhary
Hi Team,

I am rotating image using ImageMagick 7.0.4-0 Q8 x86_64 on Ubuntu 14.04.1 OS.

Please find the below command -

convert -rotate -90 a.png b.png

Once the image is converted and I am rotating it once again as

convert -rotate -90 b.png c.png

the output is a blank image.

Please find the sample image http://imgur.com/a/GIwIg

Re: Rotate same image more than once creates blank image

Posted: 2017-08-28T10:18:45-07:00
by fmw42
Your syntax is incorrect for both IM 6 and IM 7, though IM 6 is more forgiving.

In IM 7, use magick in place of convert. Also read your input image before the rotate command.

Code: Select all

magick a.png -rotate -90 b.png
magick b.png -rotate -90 c.png
If that does not work, then upgrade your version of IM 7 to its current at 7.0.6.9.

See
http://www.imagemagick.org/Usage/basics/#why
http://imagemagick.org/script/porting.php#cli

Re: Rotate same image more than once creates blank image

Posted: 2017-08-28T12:03:34-07:00
by GeeMack
fmw42 wrote: 2017-08-28T10:18:45-07:00If that does not work, then upgrade your version of IM 7 to its current at 7.0.6.9.
Update: On 2017-08-28, v7.0.6-10 has posted for download at THIS link.