[Webkit-unassigned] [Bug 32197] feDiffuseLighting filter is not implemented

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 3 11:53:44 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=32197





--- Comment #11 from Zoltan Herczeg <zherczeg at webkit.org>  2010-05-03 11:53:43 PST ---
About the "-graphcssystem raster" option. Today, I printed out the depth()
meber of a QPixmap (X11 version), and it was 24. For an 8 bit RGB
implementation, that means ther is no alpha channel. In practice, you have a 1
bit alpha cahnnel (the pixel is transparent or not), which is probably
implemented by a special constant, or a bit map (1 bit for each pixel), I don't
really know. 1 bit alpha channel is not enough for SVG effects. I.e: the
lighting effects use the alpha channel as height vector.

One more interesting thing. Here is a code snippet:

w, h -> width height, anything > 0 will do

QPixmap pixmap(w, h);
pixmap.fill(Qt::transparent);
QPainter p(&pixmap);
p.fillRect(0, 0, w, h, Qt::red)
p.end();
pixmap.save("save.png");

On X11, you will see an empty image
If you comment out the .fill line, you will see a red box.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list