Revision 917041

Go back to digest for 1st February 2009

Optimization in Graphics

Pino Toscano committed changes in /trunk/KDE/kdegraphics/okular/generators/comicbook:

When loading a comicbook, try to get just the size of the various images without loading them if possible.

Instead of just fully loading the images, make use of QImageReader to query for the size if available, and in case just do the old way (full image loading).

This drastically kills the loading time of comicbook documents of at least 50%, even by 75% (and possibly something more) on the average case.

File Changes

Modified 5 files
  • /trunk/KDE/kdegraphics/okular/generators/comicbook
  •   /document.cpp
  •   /document.h
  •   /generator_comicbook.cpp
  •   /unrar.cpp
  •   /unrar.h
5 files changed in total