Back to... PDF Writer

Source file : gid-decoding_qoi.ads



--  QOI - The "Quite OK Image" format for fast, lossless image compression
--
--  https://github.com/phoboslab/qoi
--
--  Dominic Szablewski - https://phoboslab.org

private package GID.Decoding_QOI is

  --------------------
  -- Image decoding --
  --------------------

  generic
    type Primary_color_range is mod <>;
    with procedure Set_X_Y (x, y : Natural);
    with procedure Put_Pixel (
      red, green, blue : Primary_color_range;
      alpha            : Primary_color_range
    );
    with procedure Feedback (percents : Natural);
  --
  procedure Load (image : in out Image_descriptor);

end GID.Decoding_QOI;


Ada PDF Writer: Ada package for writing PDF files (.pdf). Ada programming.
Some news about Ada PDF Writer and other Ada projects on Gautier's blog.