Page 2 of 2

Re: Cairo development

Posted: Wed Nov 02, 2011 9:46 pm
by chris
YesCop wrote:I thought it was difficult when the formats are different.
For example, if I load a jgp file (with no alpha layer) with datatypes and use your method, will I obtain a ARGB pixel data directly, without creating an extra space for allocating the extra bits from alpha channel ?
Yes, PBPAFMT_ARGB always gives ARGB data.