| Summary: | media-gfx/imagemagick-6.7.* fails to write tiff files after transformation of original file | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
| Component: | Current packages | Assignee: | Gentoo Graphics Project <graphics+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=20287&start=15 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Juergen Rose
2012-03-01 16:03:33 UTC
Reemerging media-libs/tiff-4.0.0-r1 and imagemagick does not change anything. Copy imagemagick-6.7.5.3-r1.ebuild as imagemagick-6.7.5.7.ebuild and try that; looking at upstream ChangeLog something changed in 6.7.5.4 so it might be worth a test. Neither upgrading to imagemagick-6.7.5.4 or imagemagick-6.7.5.7 nor downgrading to imagemagick-6.7.5.0 solve this problem. Downgrading to earlier versions fails due to issues with /usr/include/zlib.h (expected 'gzFile' but argument is of type 'struct FILE *'). The issue seems only to occur, if I use convert with the -rotate, -affine or -disort option without the +repage and if the output file is a tiff file. rose@impala:/home_impala/rose(2)$ convert rose: -rotate 10 rose.png rose@impala:/home_impala/rose(3)$ convert rose: -rotate 10 rose.tiff convert: tif_dirwrite.c:2084: TIFFWriteDirectoryTagCheckedRational: Assertion `value>=0.0' failed. Abgebrochen rose@impala:/home_impala/rose(4)$ convert rose: -rotate 10 +repage rose.tiff rose@impala:/home_impala/rose(16)$ convert rose: -virtual-pixel Black -affine .9848077530,.1736481775,-.1736481775,.9848077530 -transform rose.png rose@impala:/home_impala/rose(17)$ convert rose: -virtual-pixel Black -affine .9848077530,.1736481775,-.1736481775,.9848077530 -transform rose.tiff convert: tif_dirwrite.c:2084: TIFFWriteDirectoryTagCheckedRational: Assertion `value>=0.0' failed. Abgebrochen rose@impala:/home_impala/rose(18)$ convert rose: -virtual-pixel Black -affine .9848077530,.1736481775,-.1736481775,.9848077530 -transform +repage rose.tiff rose@impala:/home_impala/rose(21)$ convert rose: -virtual-pixel Black +distort SRT 10 rose.png rose@impala:/home_impala/rose(22)$ convert rose: -virtual-pixel Black +distort SRT 10 rose.tiff convert: tif_dirwrite.c:2084: TIFFWriteDirectoryTagCheckedRational: Assertion `value>=0.0' failed. Abgebrochen rose@impala:/home_impala/rose(23)$ convert rose: -virtual-pixel Black +distort SRT 10 +repage rose.tiff rose@impala:/home_impala/rose(24)$ The link in URL seems to be stuck. Not sure if this is still a problem in 6.7.6.4 but I'd imagine it is. Attach the failing image here and provide reproduce steps? Do same in the upstream link? What are we all waiting for? Try 6.7.7.5. It has TIFF regression(s) fixed. ChangeLog says: 2012-05-17 6.7.7-0 Cristy <quetzlzacatenango@image...> Group4-compressed TIFF / PDF image formats stopped working (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=21039). Reopen if the problem is still there after upgrade to 6.7.7.5. |