Issue 444 in webp: Strange Error : GIFLib Error 0: Image EOF detected before image complete

407 views
Skip to first unread message

necdet… via monorail

unread,
Nov 11, 2019, 4:09:46 PM11/11/19
to webp-d...@webmproject.org
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 444 by necdet...@gmail.com: Strange Error : GIFLib Error 0: Image EOF detected before image complete
https://bugs.chromium.org/p/webp/issues/detail?id=444

What steps will reproduce the problem?
1. Execute gif2webp on the attached gif.
gif2webp -loop_compatibility -lossy -mt -q 85 -o /tmp/output.gif /tmp/input.gif

What is the expected output? What do you see instead?
Expected to have converted awebp

What version of the product are you using? On what operating system?
WebP Encoder version: 1.0.0
WebP Mux version: 0.4.0

Please provide any additional information below.

I am working on a service that resizes gifs first with gifsicle ,
then converts them into animated-webp with gif2webp

The attached file input.gif is already resized with the gifsicle,
and drives gif2webp to error.
But I can visually verify that I can see the gif content with my display programs,
I can see them in linux and on chrome browser as well,
I wonder gif2webp is just too picky about them or there is actually a problem with the gifsicle,
If I can validate it, I will report it to gifsicle,

Attachments:
input.gif 356 KB

--
You received this message because:
1. The project was configured to send all issue notifications to this address

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

necdet… via monorail

unread,
Nov 11, 2019, 4:12:59 PM11/11/19
to webp-d...@webmproject.org

Comment #1 on issue 444 by necdet...@gmail.com: Strange Error : GIFLib Error 0: Image EOF detected before image complete
https://bugs.chromium.org/p/webp/issues/detail?id=444#c1

Operating System:
Linux f5df928d2883 4.15.0-66-generic #75~16.04.1-Ubuntu SMP Tue Oct 1 14:01:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

jz… via monorail

unread,
Nov 11, 2019, 11:00:10 PM11/11/19
to webp-d...@webmproject.org

Comment #2 on issue 444 by jz...@google.com: Strange Error : GIFLib Error 0: Image EOF detected before image complete
https://bugs.chromium.org/p/webp/issues/detail?id=444#c2

Thanks for the report. This error comes from libgif which gif2webp depends on. I don't see the issue with debian's build of 5.1.4, 16.04 LTS appears to be using the same version with a few additional patches. Could you verify which version you have installed?
You might also try inspecting / converting the file with some of the tools from giflib-tools as it should depend on the same library.

necdet… via monorail

unread,
Nov 12, 2019, 9:27:57 AM11/12/19
to webp-d...@webmproject.org

Comment #3 on issue 444 by necdet...@gmail.com: Strange Error : GIFLib Error 0: Image EOF detected before image complete
https://bugs.chromium.org/p/webp/issues/detail?id=444#c3

Thank you for helping me !

Here is the version for libgif-dev we have :

Package: libgif-dev
Status: install ok installed
Priority: optional
Section: libdevel
Installed-Size: 92
Maintainer: Ubuntu Developers <ubuntu-dev...@lists.ubuntu.com>
Architecture: amd64
Source: giflib
Version: 5.1.4-0.3~16.04.1
Depends: libgif7 (= 5.1.4-0.3~16.04.1)
Description: library for GIF images (development)
GIFLIB is a package of portable tools and library routines for working with GIF
images.
.
This package contains the development files.
Description-md5: 0bfe767ea8e86d9cab3f10708a06203a
Original-Maintainer: Thibaut Gridel <tgr...@free.fr>
Homepage: http://giflib.sourceforge.net/

And the libgif7 that it depends on;

Package: libgif7
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 68
Maintainer: Ubuntu Developers <ubuntu-dev...@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: same
Source: giflib
Version: 5.1.4-0.3~16.04.1
Depends: libc6 (>= 2.14)
Description: library for GIF images (library)
GIFLIB is a package of portable tools and library routines for working with GIF
images.
.
This package contains the library.
Description-md5: 6e1b50f7983687352e4b68758c6a50d6
Original-Maintainer: Thibaut Gridel <tgr...@free.fr>
Homepage: http://giflib.sourceforge.net/

I ll try to do, giftools for inspecting / converting the file, let you know about the resuts

jz… via monorail

unread,
Dec 16, 2019, 6:33:35 PM12/16/19
to webp-d...@webmproject.org
Updates:
Status: WontFix

Comment #6 on issue 444 by jz...@google.com: Strange Error : GIFLib Error 0: Image EOF detected before image complete
https://bugs.chromium.org/p/webp/issues/detail?id=444#c6

Sorry for the slow reply. This sounds like it may be been fixed if debian's version doesn't fail. It might be worth filing a bug on giflib [1] or with the ubuntu package [2].
I'm going to close this bug as it isn't an issue with libwebp itself.

[1] http://giflib.sourceforge.net/
[2] https://launchpad.net/ubuntu/+source/giflib/+bugs
Reply all
Reply to author
Forward
0 new messages