/** * This method sets the color index value on the given position. * * @param ulX the horizontal (x) position, on which to set the color index * @param ulY the vertical (y) position, on which to set the color index * @param colorValue a pointer to the color index value field to set * @return true if pixel color index was set, else false */ bool fipImage::setPixelIndex( const unsigned long ulX, const unsigned long ulY, BYTE * colorIndexValue ){ /* if ( pImageData == NULL ){ return false; } */ return FreeImage_SetPixelIndex( pImageData, ulX, ulY, colorIndexValue ); }
BOOL fipImage::setPixelIndex(unsigned x, unsigned y, BYTE *value) { _bHasChanged = TRUE; return FreeImage_SetPixelIndex(_dib, x, y, value); }