[cairo] How to load a BMP/JPG/TGA to a Surface?
mkbosmans at gmail.com
Tue Jun 1 04:40:39 PDT 2010
2010/6/1 Mj Mendoza IV <mjmendoza at konsolscript.org>:
> Mj Mendoza IV <mjmendoza <at> konsolscript.org> writes:
>> See this image to see what I mean.
> I temporarily settled to using a hackish way to correct the image by
> repositioning the pixels. Although, this could seem to be permanent in my case
> unless FreeBASIC Dev try fixing it or the Cairo devs provide an API for loading
> other image format.
AFAIK the png load/save feature of Cairo is meant as a convenience
facility for debugging purposes only.
This means that it will never be possible to adjust parameters for
saving to png, nor to load from/save to other bitmap formats.
You will have to use other libraries for that.
> Mj Mendoza IV,
> Developer, KonsolScript
More information about the cairo