JPG and PNG decoder

bearophile bearophileHUGS at
Sun Jun 17 05:15:35 PDT 2012


> I've been working on decoders for simple (baseline) JPEG and 
> PNG's, mostly for my own amusement, and they seem to work ok 
> now, so if anyone has need of some simple D modules to load 
> these formats you can grab them here:

Suggestions on the code:
- Try to use final switches.
- switch cases don't need (), so instead of case(foo):  write 
case foo:
- Try to add const/immutable/pure/nothrow where possible.


More information about the Digitalmars-d-announce mailing list