X-Boost  2.3.8
Public Member Functions | Public Attributes | List of all members
ImageHandle Struct Reference

#include <Image.h>

Inherited by Image.

Public Member Functions

ImageHandle crop (int x0, int y0, int x1, int y1) const
 return a subpart of the image (without copy)
 
ImageHandle crop (const rect &roi) const
 return a sub part of the image (without copy)
 

Public Attributes

unsigned int bpp
 byte per pixel (1 for grayscale image, 2 for 16bit greyscale image, 3 for RGB/YUV/etc color image)
 
unsigned int width
 image geometry
 
unsigned int height
 
long stride
 line stride, the delta offset, in bytes, between two different scanline
 
unsigned char * data
 initial address of the first pixel. It must be cast to correct format (uint8, uint16, rgb, etc etc)
 

Detailed Description

a structure to hold image data, without release it is a simply container for image geometry, delegating memory management to others classes


The documentation for this struct was generated from the following file: