And what is wrong with using QImage::setPixel()?
setPixel refers to RGB, not RGBA
Oh, and I forgot to say, the long term solution for me is to paint alpha channels directly via a brush, but this refers to QPainters and not QImages! I'm doing it per-pixel in a QImage at the moment as a short term hack
Thinking about it, what I'm after is a kind of "eraser" brush, photoshop-style, and I want this to be at the level of a QBrush, not pixel hacking.
Last edited by wysota; 19th March 2009 at 16:28.
Bookmarks