Re: Image resampling [PATCH 0/6]

Adrian Johnson <[email protected]>
Newsgroups gmane.comp.lib.cairo,gmane.comp.graphics.pixman
Message-ID <[email protected]>
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.

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.