Page 1 of 1

unsharp gives strange result in CMYK mode

Posted: 2011-02-22T02:33:04-07:00
by johanwieland321
we use the unsharp mask feature for RGB images (Tif and Jpegs), and this works ok for us.
But now we have a bunch of images in CMYK modus which we don't want to colorconvert to other colorspace.
Just scale, change density and apply an unsharp
But the result while working with the CMYK images gives bad result, image colors are blurred.
ImageMagick version is 6.6.7-5 on OSX, but als tried it on a PC with version 6.6.5-9

command without changing size or resolution is
convert CMYKCLIP.tif -unsharp 4x1+4+0.5 unsharpcmyk.tif (source image is 600dpi)

see screenshot of result: 3 stages
left is source image (CMYK of RGB)
middle is result from RGB image
right is result from CMYK source

Image

the only way to avoid this behaviour is to change the Sigma to zero, but then no unsharp masking is done.
did not find anything in documentation about not using -unsharp in cmyk mode

Re: unsharp gives strange result in CMYK mode

Posted: 2011-02-22T05:15:18-07:00
by magick
We can reproduce the problem you posted and have a patch. Look for it in ImageMagick 6.6.7-10 Beta by sometime tomorrow. Thanks.

Re: unsharp gives strange result in CMYK mode

Posted: 2011-02-24T11:46:59-07:00
by Yap
Please upload the binaries ver of ImageMagick 6.6.7-10 Beta. I also have the same issue.

Re: unsharp gives strange result in CMYK mode

Posted: 2011-02-24T12:00:07-07:00
by magick
ImageMagick 6.6.7-10 will be released within a week.

Re: unsharp gives strange result in CMYK mode

Posted: 2011-03-01T07:43:10-07:00
by Yap
I'm getting the same problem using unsharp in v10, I'm using ISOnewspaper30v4.icc which is CMYK.

Re: unsharp gives strange result in CMYK mode

Posted: 2011-03-01T07:56:51-07:00
by magick
We can reproduce the problem you posted and have a patch. Look for it in ImageMagick 6.6.8-0 Beta by sometime tomorrow. Thanks.

Re: unsharp gives strange result in CMYK mode

Posted: 2011-03-02T11:25:32-07:00
by Yap
I'll wait for the binary version so I can try it out. Thanks.

Re: unsharp gives strange result in CMYK mode

Posted: 2011-03-08T13:06:21-07:00
by Yap
The -unsharp don't work for me. Using ISOnewspaper30v4.icc and -sharpen gives the strange results like before.

Re: unsharp gives strange result in CMYK mode

Posted: 2011-03-08T13:36:20-07:00
by magick
We can reproduce the problem you posted and have a patch. Look for it in ImageMagick 6.6.8-2 Beta by sometime tomorrow. Thanks.