Свойство | Тип | Описание | |
---|---|---|---|
height | int | ||
pixelSize | int | ||
stride | int | ||
width | int | ||
x | int | ||
y | int |
Метод | Описание | |
---|---|---|
Apply ( |
Perform color dithering for the specified image.
|
|
Apply ( UnmanagedImage sourceImage ) : |
Perform color dithering for the specified image.
|
Метод | Описание | |
---|---|---|
Diffuse ( int rError, int gError, int bError, byte ptr ) : void |
Do error diffusion. All parameters of the image and current processing pixel's coordinates are initialized in protected members. |
|
ErrorDiffusionColorDithering ( ) : System |
Initializes a new instance of the ErrorDiffusionColorDithering class.
|
Метод | Описание | |
---|---|---|
GetClosestColor ( int red, int green, int blue, byte &colorIndex ) : Color |
public Apply ( |
||
sourceImage | Source image to do color dithering for. | |
Результат |
public Apply ( UnmanagedImage sourceImage ) : |
||
sourceImage | UnmanagedImage | Source image to do color dithering for. |
Результат |
protected abstract Diffuse ( int rError, int gError, int bError, byte ptr ) : void | ||
rError | int | Error value of red component. |
gError | int | Error value of green component. |
bError | int | Error value of blue component. |
ptr | byte | Pointer to current processing pixel. |
Результат | void |
protected ErrorDiffusionColorDithering ( ) : System | ||
Результат | System |