Creates a
BilevelBitmap from the current
GcBitmap.
This method does not perform any transformations of the color palette. It is expected that the source GcBitmap has already been converted to bi-level palette using some thresholding or dithering effects. The ToBilevelBitmap method just copies data from a specified color channel to a new instance of the BilevelBitmap class.
シンタックス
'宣言
Public Function ToBilevelBitmap( _
Optional ByVal As ColorChannel, _
Optional ByVal As System.Boolean, _
Optional ByVal As System.Boolean _
) As BilevelBitmap
パラメータ
- colorChannel
- The color channel used as the source of the bi-level data.
- lowerBitsFirst
- If true, pixels are arranged within a byte such that pixels with lower column indices are stored in the lower-order bits of the byte.
- whiteIsZero
- If true, indicates that 0 represents white and 1 represents black in the resulting BilevelBitmap.
戻り値の型
A new instance of
BilevelBitmap.
参照