Method
GimpColorTransformprocess_pixels
since: 2.10
Declaration [src]
void
gimp_color_transform_process_pixels (
GimpColorTransform* transform,
const Babl* src_format,
gconstpointer src_pixels,
const Babl* dest_format,
gpointer dest_pixels,
gsize length
)
Description [src]
This function transforms a contiguous line of pixels.
See gimp_color_transform_new(): only the pixel encoding of
src_format
and dest_format
is honored, their color spaces are
ignored. The transform always takes place between the color spaces
determined by transform
‘s color profiles.
Available since: 2.10
Parameters
src_format
-
Type:
Babl
Babl
format ofsrc_pixels
.The data is owned by the caller of the function. src_pixels
-
Type:
gconstpointer
Pointer to the source pixels.
The argument can be NULL
.The data is owned by the caller of the function. dest_format
-
Type:
Babl
Babl
format ofdest_pixels
.The data is owned by the caller of the function. dest_pixels
-
Type:
gpointer
Pointer to the destination pixels.
The argument can be NULL
.The data is owned by the caller of the function. length
-
Type:
gsize
Number of pixels to process.