12 #include "Jpeg2000Convert.h" 13 #ifdef OPJ_HAVE_LIBLCMS2 16 #ifdef OPJ_HAVE_LIBLCMS1 19 #include "Jpeg2000Color.h" 20 #include <QStringList> 33 bool load (
const QString &filename,
41 void applyImageTweaks (opj_image_t *image)
const;
42 opj_codec_t *decode (
int decodeFormat)
const;
43 int getFileFormat(
const char *filename)
const;
44 void initializeParameters (opj_dparameters_t ¶meters)
const;
45 int inputFormat(
const char *filename)
const;
46 bool invalidFileExtension (
const QString &filename)
const;
47 QStringList supportedFileExtensions ()
const;
Wrapper around OpenJPEG library, in C, for opening jpeg2000 files.
QStringList supportedImageWildcards() const
List the supported jpeg2000 file extensions, for filtering import files.
bool load(const QString &filename, QImage &image) const
Load image from jpeg2000 file.
Jpeg2000()
Single constructor.