IM version 6.8.3.4 can't convert gif/bmp to webp

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
carol_sun
Posts: 19
Joined: 2009-11-06T00:49:59-07:00
Authentication code: 8675309

IM version 6.8.3.4 can't convert gif/bmp to webp

Post by carol_sun »

we are using IM6.7.9-3 in our system. And we noticed that while doing the encoding of webp there is a memory leak.
Then we turn to 6.8.3.4, and the memory leak bug had be fixed. But there is a new problem, when convert a gif or a bmp image to webp, it failed with "NoDecodeDelegateForThisImageFormat `' @ error/blob.c/ImagesToBlob/1781"

we use ImageMagick++

Code: Select all


Blob blob(img_data, img_size);

Image img;
img.read(blob);
....
....
....
img.write(&blob, "WEBP");     // failed here...

User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: IM version 6.8.3.4 can't convert gif/bmp to webp

Post by magick »

Add --with-webp to your configure script command line. Then rebuild and reinstall ImageMagick.
carol_sun
Posts: 19
Joined: 2009-11-06T00:49:59-07:00
Authentication code: 8675309

Re: IM version 6.8.3.4 can't convert gif/bmp to webp

Post by carol_sun »

magick wrote:Add --with-webp to your configure script command line. Then rebuild and reinstall ImageMagick.
it works, thanks very much
Post Reply