Copy Pixels from one image to another

  • Thread starter Thread starter Pierre
  • Start date Start date
P

Pierre

Hi... again (it's a bad day)

Here is the point,
I draw ellipse on an image (a map) in order to map something.
But what I really don't know is how to erase the ellipse if I don't want to
map the place on my map anymore and get back the originals pixels.

thks for help.
 
Pierre,

You have a few options here. The first option would be to store a copy
of the map in the region you draw the ellipse before you draw it, and then
paste the image back when you want to remove the ellipse.

The other option you have is to draw the ellipse with a brush that is
really just a reversible operation on the pixels (like an XOR operation).
This will allow you to just redraw the ellipse with the same brush to get
the original image.

Hope this helps.
 
Back
Top