hello !
I just want to get a function that can copy a part of an image (image_src) from point x1, y1 (width, height of the part are known) to another image (image_dest) at point x2, y2 (width and height of this destination image are known).
like GpBitBlt does from a source image to screen, but instead of th screen I want the destination to be another image.
can anyone help me please ?
i try to copy each pixel by using a loop, but I'm lost in the coordinates and it doesn't work.
does anyone already done a function like this ? Thanks a lot !
note : the images are 8 bits C tables, done by gp32converter from 8 bits BMP files.
I just want to get a function that can copy a part of an image (image_src) from point x1, y1 (width, height of the part are known) to another image (image_dest) at point x2, y2 (width and height of this destination image are known).
like GpBitBlt does from a source image to screen, but instead of th screen I want the destination to be another image.
can anyone help me please ?
i try to copy each pixel by using a loop, but I'm lost in the coordinates and it doesn't work.
does anyone already done a function like this ? Thanks a lot !
note : the images are 8 bits C tables, done by gp32converter from 8 bits BMP files.