#1207 HIGH Opportu: Image scaling has become a performance issue
Zarro Boogs per Child
bugtracker at laptop.org
Tue Oct 9 12:36:17 EDT 2007
#1207: Image scaling has become a performance issue
------------------------------+---------------------------------------------
Reporter: jg | Owner: jg
Type: task | Status: new
Priority: high | Milestone: Opportunity (please help!)
Component: x window system | Version:
Resolution: | Keywords: power, performance
Verified: 0 |
------------------------------+---------------------------------------------
Comment(by MitchellNCharity):
I ran into this when prototyping an activity which used a lot of image
zooming. Part of the problem is that Cairo apparently used high-quality
but expensive interpolation for image enlargement. Image shrinking used a
cruder but faster approach. This was several months ago now.
I got improved, but still insufficient, performace by pre-expanding the
images on disk, so shrinking could be used instead of expanding. My next
step would be to try using an separate library for the image scaling,
perhaps combined with incremental display (start with a low quality image,
pause, and if zoom hasn't changed a second later, replace it with a high
quality one).
--
Ticket URL: <https://dev.laptop.org/ticket/1207#comment:5>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list