On 24/11/12 14:27, Søren Sandmann wrote: > -=- Adding support to cairo and further work > > Once these patches have landed in Pixman, support will have to be > added to cairo to make use of them. How to do that exactly requires > figuring out what new API to offer, and how the tradeoffs between > performance and quality should be made. This is not something that I > personally plan to work on anytime soon, except to make three notes:
It would be useful to have an API for downscaling that does not require the entire source image to be loaded into memory. I've recently updated the downscaling box filter code in the cairo backend of poppler to read the source image one line at a time as it is uncompressed from the pdf file. This was to fix a bug where rendering a PDF containing a 21,590 x 161,385 1 bit/pixel image failed due to the 32,767 x 32,767 image limit. _______________________________________________ Pixman mailing list Pixman@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pixman