Image img = Image("1.webp"); Blob blob; img.write(&blob);
when i use the write, except occur.
On Wed, 12 Mar 2014, wu zhenyu wrote:
Image img = Image("1.webp"); Blob blob; img.write(&blob); when i use the write, except occur.
Thanks for bringing this to our attention. It seems that webp was not added to the GraphicsMagick test suite yet since otherwise this problem would already have been discovered.
Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Image img = Image("1.webp"); Blob blob; img.write(&blob); when i use the write, except occur. write image to blob failed when the image is webp (1.3.19)
write image to blob failed when the image is webp (1.3.19)
If you are using source code, the fix is very simple. Change the last source line in coders/webp.c to:
return (webp_status ? MagickPass : MagickFail);
The fixes are in Mercurial and will be in tonight's source development snapshot. Now WebP is added to the test suite and the test suite is passing.
The WebP support is very new and many enhancements are still planned.
many thanks, i will try.
Log in to post a comment.
when i use the write, except occur.
On Wed, 12 Mar 2014, wu zhenyu wrote:
Thanks for bringing this to our attention. It seems that webp was not
added to the GraphicsMagick test suite yet since otherwise this
problem would already have been discovered.
Bob
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
On Wed, 12 Mar 2014, wu zhenyu wrote:
If you are using source code, the fix is very simple. Change the last
source line in coders/webp.c to:
The fixes are in Mercurial and will be in tonight's source
development snapshot. Now WebP is added to the test suite and the
test suite is passing.
The WebP support is very new and many enhancements are still planned.
Bob
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
many thanks, i will try.