Problems rotating an image, or mogrify -rotate blues!

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
William J Giddings

Problems rotating an image, or mogrify -rotate blues!

Post by William J Giddings »

As a part of a Tcl script I'm using imageMagick to split and rotate scanned dual pages.
Ok, the split is working, but I'm getting problems with the rotation.

Here's an example of the command that my Tcl script outputs to the shell..

Code: Select all

mogrify -rotate 90 split-0001.tif
And here's the error that I get back.

Code: Select all

rotating split-0001.tif
mogrify: "XPosition": Information lost writing value (-20.8889) as (unsigned) RATIONAL. `split-0001.tif'
Sometimes I notice that when I test the script it will rotate an initital 3 or 4 files before giving the same error.

I get the same problem if I directly used the same command at the command line.

Any ideas what's causing the problem?

Will
Post Reply