Category Archives: tools

Crop scaled images to specific sizes in C#

This example lets you crop scaled images to specific sizes in C#. The post Crop images to specific sizes in C# lets you drag a rectangle of a specified size around on an image to pick the part of the … Continue reading

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

Use big toolstrip buttons in C#

This example shows how you can make big toolstrip buttons. It also shows how to make buttons act as comboboxes that let you select images. At design time, I created the toolstrip and added the button with the flower on … Continue reading

Posted in controls, tools, user interface | Tagged , , , , , , , , , | Leave a comment

Make a hexagonal montage of pictures in C#

This example combines techniques from several earlier posts to make a hexagonal montage. It uses the techniques demonstrated in the post Draw a hexagonal grid in C# to define the grid and to make positions on the form two and … Continue reading

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

Make an improved diagonal picture montage in C#

My earlier example Make a Pinterest-style diagonal picture montage in C# showed how you could make a picture montage showing parts of images rotated by a desired angle. While using that program today I found a small bug. The areas … Continue reading

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

Crop images to specific sizes in C#

Sometimes I need to crop images to specific sizes or aspect ratios. For example, the following list shows some recommended image sizes for Google Business. Profile image – 250×250 pixels Cover photo – 1080×608 pixels Shared images – 497×373 pixels … Continue reading

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

Make a Pinterest-style diagonal picture montage in C#

This example was inspired by a picture montage generated by Pinterest. Several months ago, my girlfriend and I started a bakery (see the website here), and a cool image appeared on our Pinterest page (which is here). Pinterest had taken … Continue reading

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

Useful tools and links

This page lists some useful tools and links that I visit regularly. If you want to recommend others, please post them in the comments. Tools Programming Sites Forums Tools @icon sushi Image to icon converter that supports the mask editor … Continue reading

Posted in miscellany, tools | Tagged , , , , , , , , | Leave a comment

Merge directories in C#

This example lets you merge directories. Once upon a time, if you used Windows Explorer to move a file from one directory to another and the destination directory already contained a file with that name, you had the option of … Continue reading

Posted in directories, files, system, tools | Tagged , , , , , , , , , , , , , , | Leave a comment

Find duplicate files in C#, Part 4 of 4

The last three posts described an application that searches for duplicate files and removes them. The program seems to work fairly well, at least for small test directories. When I tried it on a directory containing around 8,000 files, however, … Continue reading

Posted in algorithms, cryptography, files, system, tools | Tagged , , , , , , , , , , , , , , , , , , | 1 Comment

Find duplicate files in C#, Part 3 of 4

The last two posts described an application that searches for duplicate files and removes them. This post explains how the program removes the files when you click the Delete Selected button. When you click the button, the following code executes. … Continue reading

Posted in algorithms, cryptography, files, system, tools | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment