El 30/06/13 17:10, Krzysztof Kosiński escribió:
Is that the downscaling patch discussed in this thread? If it is, I'm afraid it's still not acceptable for quality work.
No. The patch is about adding scaling directly into Cairo, using convolution filters recently added to Pixman. These filters are correct from the point of view of signal processing and correctly downscale even pathological images, such as zone plates. The dev version of Inkscape uses its own scaling routine before using Cairo to do the non-scaling part - probably it's not good enough.
Thanks Krzysztof for clarifying this.
The stable version does not actually downscale anything at all - it always samples 4 points per pixel. and uses bicubic interpolation. This means that at high downscaling factors most pixels are ignored.
Well, what stable does looks in my oppinion pretty decent, and it's fast too. I find it adequate for my needs because it produces sharp results and images with logos or text looks crisp when downsized. Some people may argue that the results are too sharp, but I think it's pretty good for most of the common cases (I guess it's not enough for some edge cases, though).
I'm curious about this new downscaling method in cairo and how it compares to the current downscaling method in terms of sharpness and speed. Are there any sample images of the result?
Kind regards, Gez.