convert_set_dither_matrix


Description:

[ 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.

Parameters:

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.

Returns:

TRUE on success.