![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Member Functions | |
| Jpeg2000JasperReader (QIODevice *iod, const SubFormat format=Jp2Format) | |
| ~Jpeg2000JasperReader () | |
| bool | read (QImage *pImage) |
| bool | write (const QImage &image, int quality) |
| Opens the file data and attempts to decode it using the Jasper library. | |
| Jpeg2000JasperReader (QIODevice *iod, const SubFormat format=Jp2Format) | |
| ~Jpeg2000JasperReader () | |
| bool | read (QImage *pImage) |
| bool | write (const QImage &image, int quality) |
Definition at line 43 of file qjp2handler.cpp.
Construct a Jpeg2000JasperReader using the provided imageIO. Note that currently the jasper library is initialized in this constructor, (and freed in the destructor) which means that:
Definition at line 299 of file qjp2handler.cpp.
Referenced by QJp2Handler::read(), and QJp2Handler::write().
| Jpeg2000JasperReader::~Jpeg2000JasperReader | ( | ) |
Definition at line 328 of file qjp2handler.cpp.
| Jpeg2000JasperReader::~Jpeg2000JasperReader | ( | ) |
| bool Jpeg2000JasperReader::read | ( | QImage * | pImage | ) |
Opens the file data and attempts to decode it using the Jasper library. Returns true if successful, false on failure
Definition at line 349 of file qjp2handler.cpp.
References ScopedJasperImage::ScopedJasperImage().
Referenced by QJp2Handler::read().
| bool Jpeg2000JasperReader::read | ( | QImage * | pImage | ) |
| bool Jpeg2000JasperReader::write | ( | const QImage & | image, |
| int | quality ) |
Opens the file data and attempts to decode it using the Jasper library.
Returns true on success, false on failure.
32-bit and color mapped color images are encoded as RGB images, color mapped grayscale images are encoded as grayscale images
Definition at line 758 of file qjp2handler.cpp.
References Jp2Format.
| bool Jpeg2000JasperReader::write | ( | const QImage & | image, |
| int | quality ) |