[Qt-interest] QPixmap / QImage with Targa / TGA?

Thiago Macieira thiago.macieira at trolltech.com
Fri Apr 24 09:02:16 CEST 2009


fungos wrote:
>How can I open a TGA file with Qt (by not writing a IO myself)?
>And why it is not as simple as any other format that Qt already open?

Qt doesn't provide a TGA image I/O plugin. That's why it can't open by 
default a TGA file.

However, KDE 4 has such a plugin. If you run your application in a system 
where KDE 4 is installed, your Qt application will automatically use the 
TGA plugin provided by KDE. 

Other formats supported by the KDE plugins include EPS, DirectDraw 
Surfaces (.dds), OpenEXR (.exr), JPEG 2000 (.jp2), PCX, Photoshop files 
(.psd), GIMP files (.xcf).

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
      Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090424/254c2950/attachment.bin 


More information about the Qt-interest-old mailing list