saitoha / libsixel

A SIXEL encoder/decoder implementation derived from kmiya's sixel (https://github.com/saitoha/sixel).
MIT License
2.46k stars 82 forks source link

img2sixel cannot process animated GIF created by golang's image/gif #115

Closed yoichi closed 4 years ago

yoichi commented 4 years ago

I get "corrupt GIF (reason: no clear code)" error with animated GIF created by golang's image/gif. It can be reproduced with the last example in http://tech.nitoyon.com/ja/blog/2016/01/07/go-animated-gif-gen/

How to reproduce:

$ img2sixel http://tech.nitoyon.com/ja/blog/2016/01/07/go-animated-gif-gen/rgb.gif
runtime error
corrupt GIF (reason: no clear code).

Expected behavior: The animated GIF be displayed as it is displayed Chrome browser.

Environment:

$ img2sixel --version
img2sixel 1.8.2

configured with:
  libcurl: yes
  libpng: no
  libjpeg: yes
  gdk-pixbuf2: no
  GD: no
saitoha commented 4 years ago

f04992f in release-1.8 branch fixes this problem.

yoichi commented 4 years ago

I've confirmed the fix by using 020083b from release-1.8 branch. Thanks!

saitoha commented 4 years ago

Fixed on v1.8.5. Thanks!