S
sekarhcl
Hi,
I want to copy some portion of a bitmap(source bitmap) to another
bitmap(destination bitmap) using a reference mask bitmap. This task can
be acomplished in GDI using MaskBlt function. Is there any such
function in GDI+ for doing the same?
I saw Bob's "Extract a region from a bitmap" article. In that we are
creating region based on the given color and setting it as the region
for the form.
But in my case, I have the reference mask bitmap. If a particular pixel
in the mask bitmap is "WHITE", the corresponding pixel value available
in the source bitmap should be copied to destination bitmap. Otherwise,
it should be ignored. This process sould be repeated for the entire
image.
If anyone knows, kindly update.
I want to copy some portion of a bitmap(source bitmap) to another
bitmap(destination bitmap) using a reference mask bitmap. This task can
be acomplished in GDI using MaskBlt function. Is there any such
function in GDI+ for doing the same?
I saw Bob's "Extract a region from a bitmap" article. In that we are
creating region based on the given color and setting it as the region
for the form.
But in my case, I have the reference mask bitmap. If a particular pixel
in the mask bitmap is "WHITE", the corresponding pixel value available
in the source bitmap should be copied to destination bitmap. Otherwise,
it should be ignored. This process sould be repeated for the entire
image.
If anyone knows, kindly update.