# Gimp.ColorTransform.prototype.process_pixels

    function process_pixels(src_format: Babl.Object, src_pixels: void, dest_format: Babl.Object, dest_pixels: void, length: Number(gsize)): void {
        // Gjs wrapper for gimp_color_transform_process_pixels()
    }

This function transforms a contiguous line of pixels.

See Gimp.ColorTransform.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.

Since 2.10

src_format

  #Babl format of src_pixels

src_pixels

  pointer to the source pixels

dest_format

  #Babl format of dest_pixels

dest_pixels

  pointer to the destination pixels

length

  number of pixels to process