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:
3.1.1 2024-Oct-14
3.1.0 2024-Oct-10
3.0.0 2024-Jul-29
2.6.1 2024-Apr-24
2.6.0 2024-Apr-21
Show all 43 versions
Download Stats:
  • 0 downloads today

  • 4 downloads this week

  • 39 downloads this month

  • 9741 downloads total

Score:
0.8
Short URL:
gamut.dub.pm