[−][src]Type Definition imagequant::ConvertRowUnsafeFn
type ConvertRowUnsafeFn<UserData> = unsafe extern "C" fn(output_row: *mut Color, y: c_int, width: c_int, user_data: *mut UserData);
Generate image row on the fly
output_row
is an array width
RGBA elements wide.
y
is the row (0-indexed) to write to the output_row
user_data
is the data given to Image::new_unsafe_fn()