NAME

Qt::Gui::QImageReader

PUBLIC METHODS

QImageReader()
QImageReader(QIODevice * device, const QByteArray & format)
QImageReader(QIODevice * device, const QByteArray & format = QByteArray())
QImageReader(const QString & fileName, const QByteArray & format)
QImageReader(const QString & fileName, const QByteArray & format = QByteArray())
~QImageReader()
bool autoDetectImageFormat()
QColor backgroundColor()
bool canRead()
QRect clipRect()
int currentImageNumber()
QRect currentImageRect()
bool decideFormatFromContent()
QIODevice * device()
QImageReader::ImageReaderError error()
QString errorString()
QString fileName()
QByteArray format()
int imageCount()
QImage::Format imageFormat()
static QByteArray imageFormat(const QString & fileName)
static QByteArray imageFormat(QIODevice * device)
bool jumpToImage(int imageNumber)
bool jumpToNextImage()
int loopCount()
int nextImageDelay()
int quality()
QImage read()
bool read(QImage * image)
QRect scaledClipRect()
QSize scaledSize()
void setAutoDetectImageFormat(bool enabled)
void setBackgroundColor(const QColor & color)
void setClipRect(const QRect & rect)
void setDecideFormatFromContent(bool ignored)
void setDevice(QIODevice * device)
void setFileName(const QString & fileName)
void setFormat(const QByteArray & format)
void setQuality(int quality)
void setScaledClipRect(const QRect & rect)
void setScaledSize(const QSize & size)
QSize size()
bool supportsAnimation()
bool supportsOption(QImageIOHandler::ImageOption option)
QString text(const QString & key)
QStringList textKeys()

ENUM VALUES

UnknownError
FileNotFoundError
DeviceError
UnsupportedFormatError
InvalidDataError

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html