Closed jarilehtinen closed 8 months ago
Read the input first
convert image.tif -resize x1000 -colorspace sRGB -flatten -quality 80 image.png
Read the input first
convert image.tif -resize x1000 -colorspace sRGB -flatten -quality 80 image.png
Thanks for the suggestion. First I reported that this fixed it, but it didn't, tested with the wrong version (deleted that comment).
So some TIFFs work, some don't, including the attached one. Issue persists.
$ convert image.tif -resize x1000 -colorspace sRGB -flatten -quality 80 image.png
realloc(): invalid next size
[1] 2557812 IOT instruction (core dumped) convert image.tif -resize x1000 -colorspace sRGB -flatten -quality 80
I just pushed a patch that should resolve the realloc
issue. This will become available in the next release.
ImageMagick version
6.9.12-93
Operating system
Linux
Operating system, version and so on
Rocky Linux 9.3
Description
Trying to convert and resize a TIFF image but getting error:
Works fine in 6.9.12-86
Steps to Reproduce
Images
image.tif.zip