Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void QImageWriter::setFormat ( const QByteArray format  ) 

Sets the format QImageWriter will use when writing images, to format. format is a case insensitive text string. Example:

doc/src/snippets/code/src_gui_image_qimagewriter.cpp 0

You can call supportedImageFormats() for the full list of formats QImageWriter supports.

See also:

Definition at line 311 of file qimagewriter.cpp.

    d->format = format;

Generated by  Doxygen 1.6.0   Back to index