Closed GoogleCodeExporter closed 9 years ago
“why i cannot encode my own jpg file by cwebp.exe”sorry for the type error
Original comment by gab...@126.com
on 21 Aug 2012 at 5:59
Can you try the release binaries to compare the behavior?
http://webp.googlecode.com/files/libwebp-0.2.0-windows-x86.zip
Are you building the source with Makefile.vc? From the output it looks like the
WIC path is being used. Try adding -v to get a bit more error reporting related
to that.
Original comment by jz...@google.com
on 21 Aug 2012 at 7:58
i built the source with the command "nmake /f Makefile.vc CFG=release-static
RTLIBCFG=static OBJDIR=output".
i have tried the release binaries just a moment ago, the same error occurred.
with the -v option, "IWICFormatConverter_Initialize(pConverter,
(IWICBitmapSource*)pFrame, has_alpha
? MAKE_REFGUID(GUID_WICPixelFormat32bppRGBA_) : MAKE_REFGUID(GUID_WICPixelFormat
24bppRGB_), WICBitmapDitherTypeNone, NULL, 0.0, WICBitmapPaletteTypeCustom) fail
ed 88982f50" was printed.
how can i handle this problem?
Original comment by gab...@126.com
on 22 Aug 2012 at 1:33
This is a WIC related error code: WINCODEC_ERR_COMPONENTNOTFOUND.
You could try to reinstall WIC [1], though that might be SP2 specific.
Another option would be to undefine HAVE_WINCODEC_H and then build against
libjpeg (WEBP_HAVE_JPEG).
I'll try to reproduce this on a local XP SP3 machine.
[1] http://www.microsoft.com/en-us/download/details.aspx?id=32
Original comment by jz...@google.com
on 22 Aug 2012 at 5:16
The issue seems to be the request for RGBA as an attempt to preserve alpha,
which won't be present in this case.
A workaround will be to add -noalpha to the command line.
Original comment by jz...@google.com
on 23 Aug 2012 at 12:51
Original comment by jz...@google.com
on 23 Aug 2012 at 12:57
with the "-noalpha" option it works. thank you for your help
Original comment by gab...@126.com
on 23 Aug 2012 at 3:18
i have another question.
when i build webp on my linux platform "Linux 2.6.18-164.el5xen #1 SMP Tue Aug
18 15:59:52 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux" with the instruction in
https://developers.google.com/speed/webp/docs/compiling,
after execute the command ./autogen.sh, i would get make error. however ,when i
didn't execute "./autogen.sh" before execute "./configure", i can install webp
success. why this happened?
Original comment by gab...@126.com
on 23 Aug 2012 at 3:50
Note in the future please post questions like the above on the webp-discuss
mailing list, not in an unrelated bug.
The autogen.sh script requires additional tools to be installed, you're
probably missing autoreconf (part of autoconf) and the related automake tools.
This step is unnecessary except when building from git, though. I'll remove it
from that section to avoid confusion.
Original comment by jz...@google.com
on 23 Aug 2012 at 4:56
https://gerrit.chromium.org/gerrit/#/c/34970/
Original comment by jz...@google.com
on 9 Oct 2012 at 1:39
Original comment by jz...@google.com
on 9 Oct 2012 at 1:40
This changed has been merged (v0.2.0-35-gcf1e90d):
cf1e90d Merge "cwebp: fix jpg encodes on XP"
ecd66f7 cwebp: fix jpg encodes on XP
Original comment by jz...@google.com
on 16 Oct 2012 at 2:03
Original issue reported on code.google.com by
gab...@126.com
on 21 Aug 2012 at 3:36Attachments: