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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top