Tag Archives: resize pictures

Make bitmap extension methods that resize bitmaps in C#

The post Resize pictures in a directory to specific widths or heights in C# lets you resize all of the pictures in a directory. This example extracts the key method that resizes files and places it in a new Bitmap … Continue reading

Posted in extensions, files, graphics | Tagged , , , , , , , , , , , , , , , , | 2 Comments

Resize pictures in a directory to specific widths or heights in C#

The post Resize pictures in a directory in C# lets you resize all of the pictures in a directory but it only scales the images. This example lets you resize pictures so they have a given width, height, or both. … Continue reading

Posted in files, graphics, image processing | Tagged , , , , , , , , , , , , , , , | 1 Comment

Make a montage editor in C#, Part 2

The post Make a montage editor in C#, Part 1 explains how the montage editor loads, draws, and saves images. This post explains how the program lets you manipulate images. When you move the mouse over an image’s body, it … Continue reading

Posted in graphics, image processing | Tagged , , , , , , , , , , , , , , | 1 Comment

Make a montage editor in C#, Part 1

A while ago I wanted to make a montage showing a bunch of different pictures. I got a reasonable result by using MS Paint but it was a huge amount of work. After resizing and positioning a picture in the … Continue reading

Posted in graphics, image processing | Tagged , , , , , , , , , , , , , , | 1 Comment

Resize pictures in a directory in C#

This example shows how to resize pictures in a directory. This program lets you enter a directory name and a scale factor. It then loads all of the bmp, gif, jpg, jpeg, and png files in that directory, resizes them, … Continue reading

Posted in files, graphics | Tagged , , , , , , , , , , , , , , , | 4 Comments

Resize images and save the results in C#

This program lets you load and resize images, and save the results into files. When the form loads, the following Load event handler saves the scale factor for each of the scaling menu items in their Tag properties. // Set … Continue reading

Posted in files, graphics | Tagged , , , , , , , , , , , , , | Leave a comment