Page 1 of 1

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

Posted: 2013-02-25T01:14:14-07:00
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...


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

Posted: 2013-02-25T01:32:08-07:00
by magick
Add --with-webp to your configure script command line. Then rebuild and reinstall ImageMagick.

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

Posted: 2013-02-25T18:23:26-07:00
by carol_sun
magick wrote:Add --with-webp to your configure script command line. Then rebuild and reinstall ImageMagick.
it works, thanks very much