[cairo] High Quality ImagePattern Scaling
Vladimir Vukicevic
vladimir at pobox.com
Thu Aug 28 11:15:26 PDT 2008
On Aug 27, 2008, at 2:29 PM, Øyvind Kolås wrote:
> On Tue, Aug 26, 2008 at 12:16 PM, Andrew Ingram
> <andrew.ingram at titanemail.com> wrote:
>> Hi all,
>>
>> Having explored other options i've come to try using pycairo to
>> resize
>> and rotate some png images. The problem i'm having is that no matter
>> what options I specify, I can't seem to get the resized images to
>> be of
>> a high quality, the output is very pixelated even without rotating.
>
> Currently cairo doesn't perform very well when scaling an image down.
> It uses interpolation in a way that can result in source pixels being
> completely thrown away and not taken into consideration for the
> scaling.
We actually talked about solving this at the Cairo summit yesterday,
and should hopefully have it fixed in a day or so -- there will be a
high-quality mipmapping option, as well as a less memory intensive
option.
- Vlad
More information about the cairo
mailing list