libs/libkexiv2/libkexiv2
kexiv2previews.cpp
Go to the documentation of this file.
81 Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open((const char*)(QFile::encodeName(filePath)));
95 Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open((Exiv2::byte*)imgData.data(), imgData.size());
QByteArray data(int index=0)
Retrieve the image data for the specified embedded preview image.
Definition: kexiv2previews.cpp:158
QSize originalSize() const
Returns the pixel size of the original image, as read from the file (not the metadata).
Definition: kexiv2previews.cpp:114
QString originalMimeType() const
Returns the mimeType of the original image, detected from the file's content.
Definition: kexiv2previews.cpp:121
KExiv2Previews(const QString &filePath)
Open the given file and scan for embedded preview images.
Definition: kexiv2previews.cpp:76
===========================================================This file is a part of digiKam project htt...
QString mimeType(int index=0)
Definition: kexiv2previews.cpp:148
int dataSize(int index=0)
For each contained preview image, return the size of the image data in bytes, width and height of the...
Definition: kexiv2previews.cpp:133
static void printExiv2ExceptionError(const QString &msg, Exiv2::Error &e)
Generic method to print the Exiv2 C++ Exception error message from 'e'.
QImage image(int index=0)
Loads the data of the specified preview and creates a QImage from this data.
Definition: kexiv2previews.cpp:172
===========================================================This file is a part of digiKam project htt...
QString fileExtension(int index=0)
Definition: kexiv2previews.cpp:153
===========================================================This file is a part of digiKam project htt...
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.