Tag Archives: copy irregular area

Paste a PNG format image with a transparent background from the clipboard in C#

Sometimes you may want to paste a PNG format image into your program. The clipboard provides a simple ContainsImage method to decide whether the clipboard contains image data and a simple GetImage method to get that image if it is … Continue reading

Posted in graphics, image processing | Tagged , , , , , , , , , , , , | Leave a comment

Copy an irregular area from a picture to the clipboard in C#

Somtimes it’s useful to copy an irregular area from a picture to the clipboard. Before explaining how to do that, let me say right away that MS Paint doesn’t understand transparency. Instead, when you paste an image into MS Paint, … Continue reading

Posted in graphics, image processing | Tagged , , , , , , , , , , , , | 6 Comments

Copy an irregular area from one picture to another in C#

This example shows how to copy an irregular area from one picture to another. (The next post shows how to copy an irregular area to the clipboard.) This example has two main tasks: letting the user select an irregular area … Continue reading

Posted in graphics, image processing | Tagged , , , , , , , , , , | Leave a comment