Image loading library

Aurelien Gateau aurelien.gateau at free.fr
Wed Apr 25 17:33:59 BST 2007


Hello,

As you may know I have been working on Gwenview 2 lately. It's now actually
capable to view images, zoom and scroll them. I now need to port the
progressive
image loading system, and I need your help for this.

With Qt3, it was possible to implement progressive image loading using the
QImageDecoder class. Alas, it does not seem possible to do so with Qt4. I am
currently considering the following different options:

- Implement the loader myself, using the different available image libraries
  (libjpeg, libpng...)

- Fork khtml/imload, which seems to be doing the job but which I don't think
  can be used outside of khtml

- Use an existing progressive image loading library. Unfortunately I haven't
  found my dream library yet. My requirements are:
  - progressive image loading
  - decent support for various format (at least, jpg, png, tiff, gif, bmp...)
  - cross-platform, since KDE4 apps are going the cross-platform way this day

Any idea?

Aurélien







More information about the kde-core-devel mailing list