Page 1 of 1

-unsharp also brightens

Posted: 2019-12-03T05:45:45-07:00
by snibgo
IM v7.0.8-64 on Windows 8.1:

Code: Select all

magick rose: -unsharp 0x1 uns_v7.png
Image
The v7.0.8-64 result is too light.

Code: Select all

convert rose: -unsharp 0x1 uns_v6.png
Image
The v6.9.9-50 result is correct.

Re: -unsharp also brightens

Posted: 2019-12-03T10:49:03-07:00
by fmw42
Works fine for me on IM 7.0.9.7 Q16 Mac OSX

Re: -unsharp also brightens

Posted: 2019-12-03T12:23:57-07:00
by snibgo
Okay, thanks Fred, I'll assume a transient bug.

Re: -unsharp also brightens

Posted: 2019-12-03T14:05:04-07:00
by dlemstra
This looks like an OpenCL bug to me. Not sure what is causing this though. Will need to take a look at it.

*Edit* Disabled the kernel for now.

Re: -unsharp also brightens

Posted: 2019-12-03T15:07:31-07:00
by snibgo
Ah, yes, quite possibly OpenCL. My own-built IM v7.0.8-64, Q32, doesn't have OpenCL, and gives the correct result.

Own-built (correct result):

Code: Select all

f:\web\im>%IM7DEV%magick -version
Version: ImageMagick 7.0.8-64 Q32 x86_64 2019-09-15 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP(4.5)
Delegates (built-in): bzlib cairo fftw fontconfig fpx freetype jbig jng jpeg lcms ltdl lzma pangocairo png rsvg tiff webp wmf x xml zlib
Pre-built (result too light):

Code: Select all

f:\web\im>%IMG7%magick -version
Version: ImageMagick 7.0.8-64 Q16 x64 2019-09-08 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2018 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC HDRI Modules OpenCL OpenMP(2.0)
Delegates (built-in): bzlib cairo flif freetype gslib heic jng jp2 jpeg lcms lqr lzma openexr pangocairo png ps raw rsvg tiff webp xml zlib

Re: -unsharp also brightens

Posted: 2019-12-03T15:33:08-07:00
by fmw42
My correct result was also without OpenCL