gamut 0.0.4

image library


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

gamut

gamut is an image decoding/encoding library for D.

It's design is inspired by the FreeImage design, where the Image concept is monomorphic and can do it all.

gamut tries to have the fastest and most memory-conscious image decoders available in pure D code. It is nothrow @nogc @safe for usage in -betterC and in disabled-runtime D.

Decoding

  • PNG: 8-bit and 16-bit, L/LA/RGB/RGBA
  • JPEG: 8-bit, L/RGB/RGBA, baseline and progressive
  • QOI: 8-bit, RGB/RGBA
  • QOIX: 8-bit, L/LA/RGB/RGBA. This is an evolving format, specific to Gamut, that embeds some developments in the QOI family of formats.

Encoding

  • PNG. 8-bit, RGB/RGBA
  • JPEG: 8-bit, greyscale/RGB, baseline
  • QOI: 8-bit, RGB/RGBA
  • QOIX: 8-bit, L/LA/RGB/RGBA
  • DDS: BC7 encoded, 8-bit, RGB/RGBA

Why QOIX?

QOIX in RGB and RGBA mode generally outperforms PNG in decoding speed, encoding speed, and compression. It doesn't have the worst cases of QOI.

Dependencies:
intel-intrinsics
Versions:
2.5.0 2024-Jan-28
2.4.0 2024-Jan-21
2.3.3 2023-Dec-28
2.3.2 2023-Dec-28
2.3.1 2023-Dec-25
Show all 38 versions
Download Stats:
  • 12 downloads today

  • 148 downloads this week

  • 444 downloads this month

  • 7755 downloads total

Score:
2.0
Short URL:
gamut.dub.pm