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/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to