[Pixman] [cairo] Image resampling [PATCH 0/6]
Adrian Johnson
ajohnson at redneon.com
Fri Nov 23 22:11:47 PST 2012
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.
More information about the Pixman
mailing list