PDA

View Full Version : How to view images using QT



Pitso
16th April 2007, 13:56
Hello everybody

I am trying to view an image using QT. I am looking for a site where I can get examples on how to do that. Types of image formats I am dealing with are Tiff & Jpeg.

A code example of few lines will be appreciated.
Thanks
Pitso

marcel
16th April 2007, 14:00
Look in Qt Examples&Demos, the Widgets section, at the Image Viewer example.
Should provide everything you need to get started.

You'll need an external lib to view tiff files. See the previous posts about Qt + Imagemagick.

Regards