I have a similar problem, if I try to write tiff files after performin a rotation with the original file. It happens if the original file is a png file or a tiff file.
rose@moose:/home/rose(405)$ convert -rotate 10 OrigImages/lena.png OutImages/lena.tiff
convert: tif_dirwrite.c:2084: TIFFWriteDirectoryTagCheckedRational: Assertion `value>=0.0' failed.
Abgebrochen
rose@moose:/home/rose(406)$ convert OrigImages/lena.png OutImages/lena.tiff
rose@moose:/home/rose(407)$ convert -version
Version: ImageMagick 6.7.5-3 2012-03-01 Q32
http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP HDRI
rose@moose:/home/rose(408)$ convert OrigImages/lena.png OutImages/lena.tiff
rose@moose:/home/rose(410)$ convert -rotate 10 OrigImages/lena.png OutImages/lena_10deg_rotated.tiff
convert: tif_dirwrite.c:2084: TIFFWriteDirectoryTagCheckedRational: Assertion `value>=0.0' failed.
Abgebrochen
This is on Gentoo system, where I installed ImageMagick with:
root@moose:/usr/src(26)# emerge -pvD imagemagick
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] media-gfx/imagemagick-6.7.5.3-r1 USE="X bzip2 cxx djvu fftw fontconfig fpx graphviz gs hdri jbig jpeg jpeg2k lcms openexr openmp pango perl png q32 svg tiff truetype wmf xml zlib -autotrace -corefonts -lqr -lzma -opencl (-q64) -q8 -raw -static-libs -test -webp" 0 kB
On a Sabayon-8-LiveDVD with ImageMagick 6.7.4-0 I have the same problem:
sabayon ~ # convert -version
Version: ImageMagick 6.7.4-0 2011-12-30 Q16
http://www.imagemagick.org
...
Features: OpenMp
sabayon ~ # convert -rotate 10 rose: rose_ratated.tiff
convert: tif_dirwrite.c:2084: TIFFWriteDirectoryTagCheckedRational: Assertion `value>=0.0' failed.
Aborted.
On a aptosid system with ImageMagick 6.6.9-7 everything is fine:
identify -version
Version: ImageMagick 6.6.9-7 2012-02-22 Q16
http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP
convert -rotate 10 OrigImages/lena.png OutImages/lena_10deg_rotated.tiff works
The same result I get with ImageMagick 6.6.0-4 on Ubuntu:
identify -version
Version: ImageMagick 6.6.0-4 2011-06-15 Q16
http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
convert -rotate 10 OrigImages/lena.png OutImages/lena_10deg_rotated.tiff works.