ufoRasterGetPixelAlpha

void ufoRasterGetPixelAlpha(
   ufoRaster raster_instance,
   int x,
   int y,
   double* a);


ufoRasterGetPixelAlpha returns the Alpha value for a pixel.

Values are normalized in the range (0..1).

Depending on the raster, the values returned are as follows:

ufoRasterGetPixelAlpha

• Called on an RGB raster returns a = (R+G+B)/3

• Called on an A raster returns a = A

• Called on an RGBA raster returns a = A



Autodesk Softimage v7.5