Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow a deferred clear code in a GIF format #63

Merged
merged 1 commit into from
Jun 7, 2018

Conversation

mame
Copy link
Contributor

@mame mame commented Apr 4, 2018

img2sixel says corrupt GIF(reason: too many codes) but this is a wrong behavior. GIF decoder must do nothing when the table is full.
See Section "DEFERRED CLEAR CODE IN LZW COMPRESSION" in this document.

img2sixel says `corrupt GIF(reason: too many codes)` but this is a wrong
behavior.  GIF decoder must do nothing when the table is full.
See Section "DEFERRED CLEAR CODE IN LZW COMPRESSION" in
[this document](https://www.w3.org/Graphics/GIF/spec-gif89a.txt).
@saitoha saitoha self-requested a review April 30, 2018 03:00
@saitoha saitoha merged commit 997eac1 into saitoha:master Jun 7, 2018
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Jun 9, 2018
Upstream changes (from NEWS):

                  ------------------------------
                   What's new in libsixel-1.8 ?
                  ------------------------------
* core: Upgrade stb_image to 2.19.

* core: Introduce new dithering method, a_dither / x_dither (http://pippin.gimp.org/a_dither/).
        Thanks to @hodefoting.
        saitoha/libsixel#53

* core: Fix wrong HLS color handling.
        saitoha/libsixel@0fb35d2

* core: Improve quality of 15bpp(hi-color mode) dither.
        saitoha/libsixel@42f3428

* img2sixel: Allow a deferred clear code in a GIF format
             GIF decoder must do nothing when the table is full.
             See Section "DEFERRED CLEAR CODE IN LZW COMPRESSION" in
             https://www.w3.org/Graphics/GIF/spec-gif89a.txt.
             Thanks to @mame.
             saitoha/libsixel#63

* img2sixel: Marks -D option (read source images from stdin continuously) as deprecated
             saitoha/libsixel@9c8ffa6

* Some bug fixes and minor improvements.
  Thanks to @set135, @ttdoda.

* Announcement for package maintainers:
  Immutable tarball is provided, because GitHub auto-generated tarball may be not immutable.

    https://github.com/saitoha/libsixel/releases/download/v1.8.0/libsixel-1.8.0.tar.gz

For details, see saitoha/libsixel#64 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants