get anti-color image when convert to format webp

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
lintianzhi
Posts: 6
Joined: 2013-08-01T01:02:21-07:00
Authentication code: 6789

get anti-color image when convert to format webp

Post by lintianzhi »

source image: http://test369.qiniudn.com/size.jpg
dest image: http://test369.qiniudn.com/size.webp

I just use command

Code: Select all

 convert -format webp size.jpg size.webp 
But I dont know why.. thk

Is there bug or something ignored ?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: get anti-color image when convert to format webp

Post by magick »

Add -colorspace sRGB to your command line to convert the CMYK JPEG image to sRGB. In the mean-time, we'll add a patch to the WebP coder to make this conversion automatically.
gegupta
Posts: 30
Joined: 2010-12-03T12:14:09-07:00
Authentication code: 8675308

Re: get anti-color image when convert to format webp

Post by gegupta »

Hi,

Was this patch applied? I have imagemagick version 6.8.6-6 configured with webp version 0.4.2 and we are seeing the anti-color kind of thing. Here is an example : http://i1.ebayimg.com/images/g/szsAAMXQ ... s-l500.jpg

Thanks
Geetanjali
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: get anti-color image when convert to format webp

Post by fmw42 »

I believe it was added (according to the changelog page) at


2013-07-31 6.8.6-8 Cristy <quetzlzacatenango@image...>

Ensure image colorspace is sRGB when writing WebP format (reference viewtopic.php?f=1&t=23841).


You are about 44 versions old. You might consider upgrading to the current 6.9.1.2 release.
Post Reply