JPG and PNG decoder

Philippe Sigaud philippe.sigaud at gmail.com
Sun Jun 17 06:38:51 PDT 2012


On Sun, Jun 17, 2012 at 3:25 PM, Stewart Gordon <smjg_1998 at yahoo.com> wrote:
>
> FWIW a while ago I wrote a simple experimental program that generates an
> image and encodes it as a PNG.  And I've just tweaked it and updated it to
> D2 (attached).  It supports only truecolour with 8 bits per sample, but it
> supports filtering, though it isn't adaptive (you just specify the filter to
> use when you run the program).

Nice one, works OK here! (DMD 2.059, Linux 32bits)

(DMD -property asks for '@property' after IHDR bigEndian())

You two should fuse it into one module, to give us loading/writing.
That would be quite cool.


More information about the Digitalmars-d-announce mailing list