[cairo] Where's the bottleneck in using glitz/cairo/librsvg?

Michael Sweet mike at easysw.com
Thu Jun 8 03:27:47 PDT 2006


Koichi Mori wrote:
>  >> The backend could take care of that through caching a high-res
>  >> rendering and scale that to produce smaller versions.
>  >I do not think you want to do this, you are then downsampling
>  >a bitmap and any benefits of rendering from the vector
>  >representation are lost.
> 
> Scaling raster image, especially down scaling, does not necessarily 
> generate horrible result if filtered. Even bi-linear filtering should 
> give quite good enough quality for icons. With recent HW accelerators, 
> bi-linear filtered raster image scaling should not be a burden, and can 
> be done on the fly.
> 
> As far as I know, Mac OS X's icons are bitmap and nobody questions about 
> its quality. Simply becasue original size is large enough (128x128), and 
> they do filtered scaling.

Actually, MacOS X icons are more complex than that - the icns format
stores multiple resolutions - 16x16, 32x32, 64x64, and 128x128 - to
provide optimal display/scaling at different sizes.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com


More information about the cairo mailing list