Tag Archives: jpg

Use the Filter property to select image files in C#

This example is mostly intended to make it easier to find these filters. I use them a lot and it’s a pain to have to recreate them every time I need them. When you click the Different Types button, the … Continue reading

Posted in controls, dialogs, image processing | Tagged , , , , , , , , , , , , , , , , | Leave a comment

Compress JPG files in a directory in C#

I wrote this example to help produce reduced-size versions of some of the thousands of pictures I’ve collected over the years. Unfortunately pictures you take with a modern camera or phone tend to be enormous. Fortunately most of my relatives … Continue reading

Posted in algorithms, files, graphics, image processing, tools | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

Quickly pick JPG compression level in C#

The example Compress JPG files to a certain size in C# lets you adjust a file’s JPG compression level until it is no bigger than a specified size. It does that by starting at a compression level of 100 and … Continue reading

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

Compress JPG files to a certain size in C#

The example Optimize JPEG compression level and file size in C# shows how to save a JPG file with different compression levels. Using a smaller level makes the resulting file smaller but introduces more error into the image. If you … Continue reading

Posted in algorithms, 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