Tag Archives: load picture

Zoom and crop a picture in C#

This program lets the user zoom in and then click and drag to crop a picture. When you zoom in, the selection rectangle snaps to positions between the image’s enlarged pixels so it’s easy to tell exactly which pixels are … Continue reading

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

Crop a picture in C#

The program uses three Bitmap objects to hold different copies of the current image. // The original image. private Bitmap OriginalImage; // The currently cropped image. private Bitmap CroppedImage; // The cropped image with the selection rectangle. private Bitmap DisplayImage; … Continue reading

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