MemBufferCollection::getColorformat Method

Returns the color format (organization of one pixel) of the image data stored in this collection. This method returns an undefined value, if the collection is not initialized. Use MemBufferCollection::getLastError in order to determine whether the returned color format is valid or not.
Syntax:
tColorformatEnum getColorformat() const;
Return value:

The color format, as a tColorformatEnum, which was passed to the object during initialization.

Remarks:

This method returns an undefined value, if the collection is not initialized. Use MemBufferCollection::getLastError in order to determine whether the returned color format is valid or not.

See also: MemBufferCollection, MemBufferCollection::getBitsPerPixel

<< MemBufferCollection

This site is part of The Imaging Source Network. Other sites include Company Portal, Image Processing, Astronomy Cameras, Astronomy Cameras Blog, Blog caméras d'astronomie, Astronomy Cameras Competition, TX Text Control, LiveDocx, phpLiveDocx and Forums.