Combines two RGB images


bytes outImg = sim.combineRgbImages(bytes img1, list img1Res, bytes img2, list img2Res, int operation) buffer outImg = sim.combineRgbImages(buffer img1, int[2] img1Res, buffer img2, int[2] img2Res, int operation)


  • img1: input image 1, as succession of rgb values.
  • img1Res: x/y resolution of image 1.
  • img2: input image 2, as succession of rgb values.
  • img2Res: x/y resolution of image 2.
  • operation: operation to be performed with the two input images.

Return values

  • output image as succession of rgb values.

See also: