[cairo] How to load a BMP/JPG/TGA to a Surface?
jonathan.morton at movial.com
Mon May 31 22:29:48 PDT 2010
> FreeBASIC already have 'standalone' reusable functions that loads JPG/TGA
> (BMP is internally supported via BLoad). However, when I pass the loaded
> image to cairo, it has an offset of 8-pixels. See this image to see what I
It looks to me as though BLoad has included the BMP header in the
block of data it loaded. I would talk to FreeBASIC people about that.
- Jonathan Morton
More information about the cairo