'Declaration Public Overloads Function ToIndexed8bppBitmap( _ ByVal maxColors As System.Integer, _ Optional ByVal appendTransparentColor As System.Boolean _ ) As Indexed8bppBitmap
public Indexed8bppBitmap ToIndexed8bppBitmap( System.int maxColors, System.bool appendTransparentColor )
Parameters
- maxColors
- The maximum number of opaque colors in the palette, from 8 to 256.
- appendTransparentColor
- Indicates if a transparent color should be added to the palette, if the image is not opaque and the number of opaque colors is less than 256.
Return Value
A new instance of Indexed8bppBitmap.