|
libopenraw
0.3.7
|
Represent a thumbnail. More...
#include <thumbnail.hpp>
Classes | |
| class | Private |
Static Public Member Functions | |
| static Thumbnail * | getAndExtractThumbnail (const char *filename, uint32_t preferred_size, ::or_error &err) |
| Quick and dirty "get this thumbnail". More... | |
Additional Inherited Members | |
Public Types inherited from OpenRaw::BitmapData | |
| typedef ::or_data_type | DataType |
Public Member Functions inherited from OpenRaw::BitmapData | |
| void | swap (BitmapData &with) |
| Swap the two objects data. | |
| DataType | dataType () const |
| Get the data type. | |
| void | setDataType (DataType _type) |
| Set the data type. | |
| virtual void * | allocData (const size_t s) |
| size_t | size () const |
| Get the size of the data. | |
| void * | data () const |
| uint32_t | width () const |
| Width of the image data. | |
| uint32_t | height () const |
| Height of the image data. | |
| uint32_t | bpc () const |
| Bit per channel. | |
| void | setBpc (uint32_t _bpc) |
| Set bit per channel. | |
| virtual void | setDimensions (uint32_t x, uint32_t y) |
| Set the pixel dimensions of the bitmap. | |
| void | adjustSize (size_t size) |
Represent a thumbnail.
Definition at line 30 of file thumbnail.hpp.
|
static |
Quick and dirty "get this thumbnail".
| filename | The filename to get the thumbnail from |
| preferred_size | The size of the thumbnail. |
| err | the error code |
Definition at line 53 of file thumbnail.cpp.
References OpenRaw::RawFile::newRawFile(), OR_ERROR_CANT_OPEN, and OR_ERROR_NONE.