Easy layer access for rgb8 filters.

Boudewijn Rempt boud at valdyas.org
Sun Jan 16 16:40:21 CET 2005


Actually, the easiest way to prepare a line of data for the
ported filters would be to use the convertToQImage method
from KisPaintDevice for a block one pixel high and as wide
as the image, filter that, and use the fromQImage method to
create a paint device and bitBlt that back onto the original
layer. And it might well be the fastest way, too.

QImage offers a pointer to its image data, so that's easy, too.

-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20050116/9fffa5d3/attachment.pgp


More information about the kimageshop mailing list