preview and birdseye

Bart Coppens kde at bartcoppens.be
Wed Jan 4 18:50:49 CET 2006


On Wednesday 04 January 2006 18:37, Casper Boemann wrote:
> if(scale down)
> {
>     for each pixel in destination
>     {
>         srcpixel = nearest match in source
> 	apply filter to that pixel
> 	write to destination pixel
>      }
>     convert destination to monitor profile (QImage)
> }
This is all well when the filter can be applied to individual pixels, but 
don't forget the ones like roundcorners, or raindrops: these apply to an 
entire 'area' of a paint device at once, not a single pixel...


More information about the kimageshop mailing list