Reading image files

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Nov 25 14:18:56 PST 2016


On 11/25/2016 12:10 PM, solidstate1991 wrote:
> After I couldn't figure out how to convert Imageformats' own format to
> my own (consequential read from IFImage resulted in a glitchy image
> after rendering the result) and I have no idea how DerelictFI works at
> all, I'm currently out of options. At least I need PNG and TGA (the
> latter is important as my rendering engine relies on transparencies),
> the best could be is to be able to read paletted bitmaps directly, which
> is a missing feature in Imageformats.

I'm not an expert this domain at all but I have an experimental project 
that uses ImageMagick('s C library), which supports those and many other 
image formats. I had written the following binding file for the project:

   https://github.com/acehreli/alibum/blob/master/magickwand.d

Ali



More information about the Digitalmars-d-learn mailing list