ShrinkARGBFormat(Int32,Int32,Int32,Int32,DitheringMethod) Method
In This Topic
Changes pixel format from 8 bits per channel to lower values with two-dimensional error diffusion.
Syntax
'Declaration
Public Overloads Sub ShrinkARGBFormat( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As DitheringMethod _
)
public void ShrinkARGBFormat(
System.int ,
System.int ,
System.int ,
System.int ,
DitheringMethod
)
Parameters
- bitsPerAlpha
- The target number of bits per Alpha channel (from 1 to 8), ignored for opaque images.
- bitsPerRed
- The target number of bits per Red channel (from 1 to 8).
- bitsPerGreen
- The target number of bits per Green channel (from 1 to 8).
- bitsPerBlue
- The target number of bits per Blue channel (from 1 to 8).
- ditheringMethod
- The method of two-dimensional error diffusion dithering.
See Also