Gifsicle Changelog

What's new in Gifsicle 1.94

Feb 20, 2024
  • Fix some bugs.

New in Gifsicle 1.92 (Apr 23, 2019)

  • Add ‘--lossy’ option from Kornel Lipiński.
  • Remove an assertion failure possible with ‘--conserve-memory’ + ‘--colors’ + ‘--careful’.

New in Gifsicle 1.91 (Apr 23, 2019)

  • Several security bug fixes with malicious GIFs.

New in Gifsicle 1.90 (Apr 23, 2019)

  • Kill a use-after-free error reported by @junxzm1990.

New in Gifsicle 1.89 (Jul 17, 2017)

  • Add SIMD support for resizing. When enabled this improves resize performance enormously for complex resize methods
  • Add thread support for resizing. ‘-j[NTHREADS]’ tells gifsicle to use up to NTHREADS threads to resize an input image. There are several caveats---multiple threads can be only used on unoptimized images. Thanks to Github user @wilkesybear
  • Quashed several crashes and undefined behaviors. Thanks to Github users including @pornel, @strazzere, and @b0b0505
  • Minor bug fixes

New in Gifsicle 1.88 (Nov 24, 2015)

  • Fix bug where long comments were read incorrectly. Reported by kazarny.
  • Add --no-ignore-errors option.

New in Gifsicle 1.87 (Jan 30, 2015)

  • Always optimize as if the background is transparent. This fixes some rare bugs.
  • Fix --crop issue with must-be-preserved frames that are out of the crop window

New in Gifsicle 1.86 (Jan 30, 2015)

  • Further fix --rotate + --crop.

New in Gifsicle 1.85 (Jan 30, 2015)

  • Greatly improve optimization time for images with many colors
  • Add --no-extensions (with the s) and document those options more
  • Fix bug in interaction of --resize and --rotate

New in Gifsicle 1.84 (Jan 30, 2015)

  • Correct optimizer bug that affected GIFs with 65535 or more total colors.

New in Gifsicle 1.83 (Jan 30, 2015)

  • Correct bug in custom gamma values
  • Update Windows build

New in Gifsicle 1.81 (Jan 30, 2015)

  • Correct bug in ‘mix’ sampling method

New in Gifsicle 1.80 (Jan 30, 2015)

  • Bug fixes and improved error messages.

New in Gifsicle 1.79 (Jan 30, 2015)

  • Major improvements in image scaling.
  • Add new resize sampling methods ‘mix’, ‘box’, ‘catrom’, ‘mitchell’, ‘lanczos2’, and ‘lanczos3’, selectable by ‘--resize-method’. The ‘catrom’ filter often gives good results; the slightly faster ‘mix’ method (a bilinear interpolator) is now the default. These new sampling methods consider all of the image’s input colors when shrinking the image, producing better, less noisy output for most images.
  • Add ‘--resize-colors’, which allows Gifsicle to enlarge the palette when resizing images. This is particularly important when shrinking images with small colormaps---e.g., shrinking a black-and-white image should probably introduce shades of gray.
  • Support extensions such as XMP4 in which extension packet boundaries matter.
  • Many bug fixes, especially to cropping.

New in Gifsicle 1.78 (Jan 30, 2015)

  • Correct an optimization bug introduced in 1.76.

New in Gifsicle 1.77 (Jan 30, 2015)

  • Major improvements to color selection (important when reducing colormap size). Use gamma-corrected colors in selection and dithering; this makes image quality much better. Also, when reducing colors with dithering, prefer to select colors that dithering can’t approximate
  • Add ordered dithering modes, which avoid animation artifacts. The default ordered dithering mode (‘--dither=ordered’) is a novel mode that combines some of the visual advantages of error diffusion with the artifact avoidance of ordered dithering
  • Add halftone dithering (‘--dither=halftone’)
  • gifview: Improved cache memory management for better animations. Collect memory for old frames based on an explicit --memory-limit (default 40MB)
  • gifview: Add ‘--fallback-delay’ option, to specify a fallback delay for frames with delay 0

New in Gifsicle 1.76 (Jan 30, 2015)

  • Fix ‘-O2’ crashes introduced with ‘--resize’ improvements.

New in Gifsicle 1.75 (Jan 30, 2015)

  • Improve ‘--careful’ (fewer crashes).
  • Improve ‘-O2’: again, don’t refuse to optimize images with local color tables.
  • Greatly improve ‘--dither’ speed

New in Gifsicle 1.74 (Jan 30, 2015)

  • Improve ‘--resize’ behavior: avoid animation artifacts due to different rounding decisions. Also speed it up.

New in Gifsicle 1.73 (Jan 30, 2015)

  • Fix bug where ‘-O2’ would refuse to optimize some images with local color tables, claiming that "more than 256 colors were required". What was really required is previous disposal.

New in Gifsicle 1.72 (Jan 30, 2015)

  • Fix crash bugs on some combinations of ‘--crop’ and ‘--resize’ (prevalent on images whose first frame didn’t cover the whole logical screen).

New in Gifsicle 1.71 (Apr 26, 2014)

  • Avoid rounding errors in ‘--resize’. Reported by Paul Kane.
  • Report error when ‘-I’ is combined with ‘-b’. Reported by Frank Dana.
  • Frame selections also apply in batch mode. Reported by LOU Yu Hong Leo.

New in Gifsicle 1.70 (Apr 26, 2014)

  • Fix ‘--crop’ bug introduced in version 1.68, visible in images containing local color tables. Bug reported by Alberto Nannini.

New in Gifsicle 1.69 (Apr 26, 2014)

  • Minor bug fix release.

New in Gifsicle 1.68 (Apr 26, 2014)

  • Alberto Nannini reported some images that are optimized beyond what Gifsicle can do. In fact, Gifsicle’s GIF writer was limited enough that even when running without optimization, it seriously expanded the input images. Some improvements to Gifsicle’s writing procedure avoid this problem; now ‘gifsicle IMAGE’ will produce large results less often, and when it does generate larger results, they’re larger by hundreds of bytes, not hundreds of thousands. However, due to restrictions in the current optimizer (and on my time), I was unable to improve ‘gifsicle -O3”s handling of these images. The optimizer that produced the images must be doing something pretty clever. (Is it SuperGIF?)

New in Gifsicle 1.67 (Apr 26, 2014)

  • Frame specifications like "#2-0" are allowed; they insert frames in reverse order. Feature request from Leon Arnott.

New in Gifsicle 1.66 (Apr 26, 2014)

  • Add -Okeep-empty for Gerald Johanson.

New in Gifsicle 1.65 (Apr 26, 2014)

  • Several users (Kornel Lesiński and others) reported "bugs" with Gifsicle-optimized images and Mac programs like Safari. The bug is in Safari, but add --careful to work around it.
  • Improve -O3 a bit (although for some images, the new -O3 is bigger than the old).

New in Gifsicle 1.64 (Apr 26, 2014)

  • Add --resize-fit options. Tom Glenne request.

New in Gifsicle 1.63 (Apr 26, 2014)

  • Avoid crash on frame selections where frames are repeated. Werner Lemberg report.

New in Gifsicle 1.62 (Apr 26, 2014)

  • -O3 optimization level tries even harder, so that now gifsicle -O3 should never produce larger results than gifsicle-1.60 -O2. Jernej Simončič report.