The LdrFormatsLoader class can load almost all "normal" image formats. More...
Public Member Functions | |
| virtual void | setFileName (const QString &fileName) |
| virtual bool | openFile () |
| virtual QSize | getSize () |
| virtual Color * | getData () |
| virtual HdrImage::ColorSpace | getColorSpace () |
| virtual QString | name () const |
Private Attributes | |
| QImage | image |
| QString | fileName |
The LdrFormatsLoader class can load almost all "normal" image formats.
This class is an implementation of ImageLoader interface.
Definition at line 26 of file LdrFormatsLoader.h.
| HdrImage::ColorSpace LdrFormatsLoader::getColorSpace | ( | ) | [virtual] |
Returns the color space of the data returned by getData(): HdrImage::Yxy.
Implements ImageLoader.
Definition at line 110 of file LdrFormatsLoader.cpp.
| Color * LdrFormatsLoader::getData | ( | ) | [virtual] |
Returns a pointer to image data in Yxy color space.
Implements ImageLoader.
Definition at line 69 of file LdrFormatsLoader.cpp.
| QSize LdrFormatsLoader::getSize | ( | ) | [virtual] |
Returns the size of the image.
Implements ImageLoader.
Definition at line 61 of file LdrFormatsLoader.cpp.
| QString LdrFormatsLoader::name | ( | ) | const [virtual] |
Returns the name of the loader: LDR Formats Loader.
Implements ImageLoader.
Definition at line 37 of file LdrFormatsLoader.cpp.
| bool LdrFormatsLoader::openFile | ( | ) | [virtual] |
Opens the image file and returns true if it was successfully opened, otherwise returns false.
Implements ImageLoader.
Definition at line 53 of file LdrFormatsLoader.cpp.
| void LdrFormatsLoader::setFileName | ( | const QString & | f ) | [virtual] |
Sets the name of the image to be opened to fileName.
Implements ImageLoader.
Definition at line 45 of file LdrFormatsLoader.cpp.
1.7.2