qoif-d 1.0.0

Quite OK Image Format library written in D


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:

QOIF-D

Implementation of the "Quite OK Image format" in D Language. The implementation is based off the QOIF specification and does not rely on the reference en-/decoder.

The goal of this library is to add a simple and easy-to-use way for encoding or decoding QOIF images that could be used in D

Usage

Decoding is done using the encode function:

auto originalImage = cast(ubyte[]) read("test_data/kodim10.qoi");
QoifImage decoded = decode(originalImage);

Encoding is done in a similar fashion:

auto imageData = [Pixel(255, 0, 0), Pixel(0, 255, 0), Pixel(0, 0, 255), Pixel(255, 255, 255)];
auto encodedImage = encode(image, 2, 2);
Authors:
  • Morozov-5F
Dependencies:
none
Versions:
1.0.0 2023-Apr-11
~master 2023-Apr-11
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 25 downloads total

Score:
0.0
Short URL:
qoif-d.dub.pm