Function
GimpImageconvert_set_dither_matrix
since: 2.4
Declaration [src]
gboolean
gimp_image_convert_set_dither_matrix (
gint width,
gint height,
GBytes* matrix
)
Description [src]
Set dither matrix for conversion to indexed
This procedure sets the dither matrix used when converting images to INDEXED mode with positional dithering.
Available since: 2.4
Parameters
width-
Type:
gintWidth of the matrix (0 to reset to default matrix).
height-
Type:
gintHeight of the matrix (0 to reset to default matrix).
matrix-
Type:
GBytesThe matrix — all values must be >= 1.
The data is owned by the caller of the function.