qt-interest@trolltech.com
[Top] [All Lists]

Re: fastest way to display images in QT

Subject: Re: fastest way to display images in QT
From: "Stephan Stapel"
Date: Mon, 14 Feb 2005 22:02:21 +0100 CET
> I am wondering what is the fastest way to display an Image in a QT widget.
> It is just strajght forward painting.  Rotation or resizing is not
> necessary.  It seems easy to do, but I failed to get a satisfactory
> result.

imho, the fastest way will be using a GL painter along with a texture/
image cache in Qt4. Unfortunately, currently there is only a QPixmapCache
implementation, Qt4 lacks a QImageCache implementation.

This would be definitely the fastest way (at least on Windows) since you
can buffer large amounts of images without having to pay attention for the
ability of HBITMAP structures. I assume similar limitations for X11.

cheers,

Stephan

--
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>