|
bool | addColor (const AColor &color) |
|
bool | addColor (const Color &color) |
|
AColor | calculateWhiteBalanceMultiplier (WhiteBalanceMode mode) const |
| Returns a color multiplier to pass to mulColor function.
|
|
bool | changeContrast (float contrast) |
|
bool | changeExposure (float ev) |
|
bool | changeGamma (float gamma) |
|
bool | changeSRGB (bool apply=true) |
|
VRayImage * | clone () const |
|
Bmp * | compressToBmp (bool preserveAlpha=false, bool swapChannels=false) const |
| Returns a new BMP object with a copy of this image's contents. Caller has to delete it.
|
|
Bmp * | compressToBmp (const VRayRenderer &renderer, bool preserveAlpha=false, bool swapChannels=false) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
Bmp * | compressToBmp (size_t &size, bool preserveAlpha=false, bool swapChannels=false) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
Bmp * | compressToBmp (size_t &size, const VRayRenderer &renderer, bool preserveAlpha=false, bool swapChannels=false) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
Jpeg * | compressToJpeg (const VRayRenderer &renderer, int quality=0) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
Jpeg * | compressToJpeg (int quality=0) const |
| Returns a new JPEG object with a compressed copy of this image's contents. Caller has to delete it.
|
|
Jpeg * | compressToJpeg (size_t &size, const VRayRenderer &renderer, int quality=0) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
Jpeg * | compressToJpeg (size_t &size, int quality=0) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
Png * | compressToPng (bool preserveAlpha=false) const |
| Returns a new PNG object with a compressed copy of this image's contents. Caller has to delete it.
|
|
Png * | compressToPng (const VRayRenderer &renderer, bool preserveAlpha=false) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
Png * | compressToPng (size_t &size, bool preserveAlpha=false) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
Png * | compressToPng (size_t &size, const VRayRenderer &renderer, bool preserveAlpha=false) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
bool | draw (const VRayImage *image, int x, int y, DrawMode mode=DRAW_MODE_COPY) |
|
VRayImage * | getCropped (int x, int y, int width, int height) const |
| Returns a new cropped image. Caller has to delete it.
|
|
VRayImage * | getCutIn (int width, int height) const |
|
VRayImage * | getDownscaled (int width, int height) const |
|
VRayImage * | getDownscaledCropped (int srcX, int srcY, int srcWidth, int srcHeight, int dstWidth, int dstHeight) const |
|
VRayImage * | getFitIn (int width, int height) const |
|
VRayImage * | getFitOut (int width, int height) const |
|
float | getGamma () const |
|
int | getHeight () const |
|
AColor * | getPixelData () |
| Returns a direct pointer to the image contents for in-place modification.
|
|
const AColor * | getPixelData () const |
| Returns a direct pointer to the image contents for reading.
|
|
AColor * | getPixelData (size_t &count) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const AColor * | getPixelData (size_t &count) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
VRayImage * | getResized (int width, int height) const |
| Returns a new resized/rescaled image. Caller has to delete it.
|
|
VRayImage * | getResizedCropped (int srcX, int srcY, int srcWidth, int srcHeight, int dstWidth, int dstHeight) const |
| Returns a new cropped and then resized/rescaled image. Caller has to delete it.
|
|
bool | getSize (int &width, int &height) const |
|
int | getWidth () const |
|
bool | makeNegative () |
|
bool | mulColor (const AColor &color) |
|
void | operator delete (void *bmp) |
|
bool | saveToBmp (const char *fileName, bool preserveAlpha=false, bool swapChannels=false) const |
|
bool | saveToBmp (const char *fileName, const VRayRenderer &renderer, bool preserveAlpha=false, bool swapChannels=false) const |
|
bool | saveToBmp (const std::string &fileName, bool preserveAlpha=false, bool swapChannels=false) const |
|
bool | saveToBmp (const std::string &fileName, const VRayRenderer &renderer, bool preserveAlpha=false, bool swapChannels=false) const |
|
bool | saveToExr (const char *fileName) const |
|
bool | saveToExr (const char *fileName, const VRayRenderer &renderer) const |
|
bool | saveToExr (const std::string &fileName) const |
|
bool | saveToExr (const std::string &fileName, const VRayRenderer &renderer) const |
|
bool | saveToJpeg (const char *fileName, const VRayRenderer &renderer, int quality=0) const |
|
bool | saveToJpeg (const char *fileName, int quality=0) const |
|
bool | saveToJpeg (const std::string &fileName, const VRayRenderer &renderer, int quality=0) const |
|
bool | saveToJpeg (const std::string &fileName, int quality=0) const |
|
bool | saveToPng (const char *fileName, bool preserveAlpha=false, int bitsPerChannel=8) const |
|
bool | saveToPng (const char *fileName, const VRayRenderer &renderer, bool preserveAlpha=false, int bitsPerChannel=8) const |
|
bool | saveToPng (const std::string &fileName, bool preserveAlpha=false, int bitsPerChannel=8) const |
|
bool | saveToPng (const std::string &fileName, const VRayRenderer &renderer, bool preserveAlpha=false, int bitsPerChannel=8) const |
|
bool | saveToTiff (const char *fileName, const VRayRenderer &renderer, int bitsPerChannel=16) const |
|
bool | saveToTiff (const char *fileName, int bitsPerChannel=16) const |
|
bool | saveToTiff (const std::string &fileName, const VRayRenderer &renderer, int bitsPerChannel=16) const |
|
bool | saveToTiff (const std::string &fileName, int bitsPerChannel=16) const |
|
bool | setGamma (float gamma) |
|
MemoryBuffer * | toBitmapData (size_t &size, bool preserveAlpha=false, bool swapChannels=false, bool reverseY=false, int stride=0, int alphaValue=-1) const |
|
IntList | toIntList (IntList_DataType type) const |
|
|
static VRayImage * | create (int width, int height) |
|
static VRayImage * | createFromBmp (const void *buffer, size_t size=0) |
| Takes raw BMP contents including header to create a copy of the data in a new VRayImage.
|
|
static VRayImage * | createFromBmp (const VRayRenderer &renderer, const void *buffer, size_t size=0) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
static VRayImage * | createFromJpeg (const void *buffer, size_t size) |
| Takes raw JPEG contents including header to create a copy of the data in a new VRayImage.
|
|
static VRayImage * | createFromJpeg (const VRayRenderer &renderer, const void *buffer, size_t size) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
static VRayImage * | createFromPng (const void *buffer, size_t size) |
| Takes raw PNG contents including header to create a copy of the data in a new VRayImage.
|
|
static VRayImage * | createFromPng (const VRayRenderer &renderer, const void *buffer, size_t size) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
static VRayImage * | createFromRawData (const void *buffer, size_t size, IntList_DataType dataType, int width, int height) |
| Takes raw pixel contents to create a copy of the data in a new VRayImage.
|
|
static VRayImage * | load (const char *fileName) |
|
static VRayImage * | load (const std::string &fileName) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
static void | loadSize (const char *fileName, int &width, int &height) |
|
static void | loadSize (const std::string &fileName, int &width, int &height) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
Image helper class containing raw full float32 data that can export to 8-bit formats - BMP, JPEG, PNG. It also supplies some basic image manipulation methods.