FS#49810 - [imagemagick] Corrupted Image with 6.9.4.6-2

Attached to Project: Arch Linux
Opened by James Coleman (grmrgecko) - Thursday, 23 June 2016, 01:37 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 07 October 2018, 08:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
I have noticed that many jpeg images, when resized with this version of ImageMagick, become corrupted. The images ether become black and white, or have weird lines around, or look like fuzz from an Analog TV.

Additional info:
ImageMagick 6.9.4.6-2
Version: ImageMagick 6.9.4-6 Q16 x86_64 2016-06-01 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenCL OpenMP
Delegates (built-in): bzlib cairo fontconfig freetype gslib jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png ps rsvg tiff webp wmf x xml zlib

Example of result in current version https://g.gec.im/V4w8.jpg
Version 6.9.4.3-1 does not have this issue https://g.gec.im/__wz.jpg
Version 7.0.2.0 does not have this issue https://g.gec.im/_Hwt.jpg


Steps to reproduce:
wget http://www.icepower.bang-olufsen.com/images/newpageimages/dualomonobig.jpg
convert dualomonobig.jpg -resize 100x96 dualomonobig-resized.jpg
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 07 October 2018, 08:50 GMT
Reason for closing:  No response
Comment by James Coleman (grmrgecko) - Thursday, 23 June 2016, 11:01 GMT
Seems like disabling OpenCL in 6.9.4.9 (in my experiments it has the same problem as 6.9.4.6) fixes the issue. I just compiled without the `--enable-opencl` option and it is able to convert without corrupting.
Comment by James Coleman (grmrgecko) - Thursday, 23 June 2016, 18:22 GMT
6.9.4-10 just released to fix this issue. I can confirm that it works with OpenCL enabled.

Version: ImageMagick 6.9.4-10 Q16 x86_64 2016-06-23 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenCL OpenMP
Delegates (built-in): bzlib cairo fontconfig freetype gslib jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png ps rsvg tiff webp wmf x xml zlib
Comment by Milan Knížek (MilanKnizek) - Saturday, 09 July 2016, 20:50 GMT
For me, the 6.9.5.0 and 7.0.2.2 versions still exhibit the problem. Disabling OpenCL works.

P.S. NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2), extra/opencl-nvidia 367.27-1
Comment by Antonio Rojas (arojas) - Saturday, 29 September 2018, 09:37 GMT
still valid in the current version?

Loading...