|
|
Interface to the KDE Image IO plugin architecture.
This library allows KDE applications to read and write images in a variety of formats, transparently via the QImage and QPixmap load and save methods.
The image processing backends are written as image handlers compatible with the QImageIO handler format. The backends are loaded on demand when a particular format is requested.
Currently supported formats include:
Simply call the KImageIO::registerFormats() static method declared in kimgageio.h.
#include<qpixmap.h> #include<kimgio.h> int main( int argc, char **argv ) { .... KImageIO::registerFormats(); ... // start main program } |
See also: KImageIO, QPixmap, QImage, QImageIO
enum |
Possible image file access modes.
Used in various KImageIO static function.
void |
[static]
Registers all KImageIO supported formats.
bool |
[static]
Checks if a special type is supported for writing.
bool |
[static]
Checks if a special type is supported for reading.
QStringList |
[static]
Retrieve a list of all KImageIO supported formats.
Parameters:
mode | Tells whether to retrieve modes that can be read or written. |
QString |
[static]
Retrieve a list of patterns of all KImageIO supported formats.
These patterns can be passed to KFileDialog::getOpenFileName() or KFileDialog::getSaveFileName(), for example.
Parameters:
mode | Tells whether to retrieve modes that can be read or written. |
QString |
[static]
Retrieve the suffix of an image type.
QString |
[static]
Retrieve the type of given filename.
QStringList |
[static]
Retrieve a list of MIME types for all KImageIO supported formats.
Parameters:
mode | Tells whether to retrieve modes that can be read or written. |
bool |
[static]
Test to see whether a MIME type is supported to reading/writing.
QString |
[static]
Return the MIME type of _filename.