Tag Archives: images in directory

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

Change image file types in a directory in C#

This program lets you save the images in a directory with new image file types. Enter a directory name and select a graphical file type: bmp, jpg, gif, png, etc. When you click Go, the proigram loads each of the … Continue reading

Posted in files, graphics | Tagged , , , , , , , , , , , , , , , , , , , | Leave a 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