[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #22247] Pre-multiplied alpha values for bitmaps
From: |
Fred Kiefer |
Subject: |
[bug #22247] Pre-multiplied alpha values for bitmaps |
Date: |
Wed, 12 Mar 2008 01:54:35 +0000 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.7 (like Gecko) SUSE |
Follow-up Comment #3, bug #22247 (project gnustep):
Added a conversion to pre-multiplied in the draw method of NSBitmapImageRep.
This does not catch all cases, but most.
I failed to find a way of removing the obsolete division of alpha and later
multiplication in the render_alpha drawing path. I am still sure that
duplicate efforts happen here, but the code is still to complex for me to
understand. Perhaps I could split the render_alpha methods up in two cases one
for pre-multiplied input and another for unpre-multiplied, but this is to much
effort for now and I give up.
Not sure, whether I should close this bug report now or leave it open...
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?22247>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/