Click or drag to resize
SbRasterImageRemoveAlphaChannel Method

Removes the Alpha channel from the current raster image.

Namespace: OIV.Inventor.Image
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public bool RemoveAlphaChannel()

Return Value

Type: Boolean

True if the format contains an alpha channel and it was possible to remove it.

Remarks

If the copy policy is COPY (Open Inventor owns the memory) then the buffer is reallocated with the correct size. Otherwise the content of the buffer is just modified.

See Also