asdlei99 / TheQuantizer

The Quantizer - A Swift-based reimplementation of ImageAlpha

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Quantizer

The Quantizer is a PNG-quantization app strongly inspired by ImageAlpha. It uses the same existing algorithms: PngQuant, Posterizer and pngnq to transform any PNG into a 8-bit palettized image. This is an efficient way of generating a lighter image file while preserving perceptual quality.

Features

  • Three quantization algorithms.
  • Custom number of colors in the palette.
  • Support for dithering.
  • Support removing the alpha channel of an image.
  • Compare the size of your image before and after.
  • Zoom and pan the generated image, compare it with the source, toggle smooth interpolation when zooming.

The existing algorithms, implemented in C, are compiled as static libraries and included in the Swift application. Please see the LICENSE_EXTERNAL.md file for their respective licenses.

Future features

  • Improve zooming and panning (center zoom, etc.).
  • Add support for Imageoptim.
  • Support opening images of any type.

About

The Quantizer - A Swift-based reimplementation of ImageAlpha

License:Other


Languages

Language:C 78.2%Language:C++ 15.6%Language:Swift 6.2%