PDA

View Full Version : storing captions



vijay anandh
24th April 2006, 05:39
Hi all

This is vijay. I am working on Visual Stdio 2005 with Qt 4. I am new To Qt.

My Questions is , How to add captions to Images in EXIF Format. Is there any functions to do this work ?

Kindly let me know

Thanks and regards
vijay

jpn
24th April 2006, 07:12
What does "store captions to images" actually mean here? And which class are you using to handle images anyway? QImage? QPixmap? ...
Maybe you want to draw text on the image? If so, read QPainter::drawText() documentation.
You know QPixmap and QImage are QPaintDevices so you can use QPainter to draw on them.

vijay anandh
24th April 2006, 07:51
Hi Thanks for your mail

Actually what that images will be coming like a FLIM STRIP, I am using QPixmap on QLabel. Just I want to add captions to those images in EXIF format. if the captions had been added already to particular image , that captions would be populated on the text edit field , Otherewise the text "add captions" will be in text edit field default,

looking forward your reply

thanks and regards
vijay

dimitri
24th April 2006, 07:54
Maybe you're after QImage::setText() (http://doc.trolltech.com/4.1/qimage.html#setText).