[cairo] BUG: CAIRO_FORMAT_ARGB32, image_surface transparency = CAIRO_IMAGE_IS_OPAQUE after write_png()

lamer314 at mail.ru lamer314 at mail.ru
Tue Jun 7 17:05:36 UTC 2016



Tuesday, June 7, 2016, 2:46:04 PM, you wrote:

AJ> On 07/06/16 15:28, lamer314 at mail.ru wrote:
>> Ok, but writing PNG shall not affect consequent writings. If we paint
>> later with transparent source it is not opaque anymore and then 
>> _cairo_image_analyze_transparency() shall run again.

AJ> I missed that part of the bug report. I thought the bug was about
AJ> writing ARGB32 images as opaque PNG when all alpha is 255. Failing to
AJ> analyze the transparency after updating the image is a bug. The attached
AJ> patch should fix it.

Hi Adrian, the patch works great. Thanks a lot for fast response.

Tuesday, June 7, 2016, 8:01:19 PM LOCAL
--




More information about the cairo mailing list