bicubic interpolating zoom

Michael Thaler michael.thaler at ph.tum.de
Tue Aug 17 01:30:54 CEST 2004


On Monday 16 August 2004 18:26, Adrian Page wrote:

> That's probably because you're calling readPixelData() four times instead
> of once. That's a slow function because of the underlying tile system. It
> should be faster using iterators, although they're not finalised yet.

The best thing would be to read a whole line at once. The Gimp is doing that. 
(Actually I think you need two lines).

> There is something wrong with the old method. If you scale a 512x512 to
> 400x400, painting on the scaled image acts strangely. There seems to be
> some sort of problem with the tiles.

I think so, two. I did not really modify anything that has to do with 
painting. And the black squares look like certain tiles are not handled 
correctly.

Greetings,
Michael


More information about the kimageshop mailing list