bug-gnustep
[Top][All Lists]
Advanced

[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: Mon, 10 Mar 2008 09:19:33 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.7 (like Gecko) SUSE

Follow-up Comment #2, bug #22247 (project gnustep):

Moved the unpre-multiplication in the art backend one step down. The code was
already there for one format (RGB, 8 bit without clipping) and is now used in
all cases.
A next step would be to remove this unpre-multiply completely and adopt the
image processing code to cope with pre-multiplied colours. This should be
faster as this was the whole idea behind pre-multiplying.

Another thing that is still needed is the conversion of all bitmaps into the
pre-multiplied format, which is now consistently expected by all backends.

And just for the record: I checked JPEG cannot handle transparency, so there
is nothing to do here and although GIF handles transparency it allows only
alpha values of 0 and 255, so no pre-multiplication is needed there.

The othe formats and the windows backecd still need to be checked.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?22247>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]