[ Version ( since = "2.4" ) ]
public static bool convert_set_dither_matrix (int width, int height, Bytes matrix)
Set dither matrix for conversion to indexed
This procedure sets the dither matrix used when converting images to INDEXED mode with positional dithering.
| width |
Width of the matrix (0 to reset to default matrix). |
| height |
Height of the matrix (0 to reset to default matrix). |
| matrix |
The matrix -- all values must be >= 1. |
|
TRUE on success. |