Tag 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

Let the user zoom on a picture and draw in C#

The example Let the user zoom on a picture in C# allows the user to zoom in on a picture and draw on it. Unfortunately, it doesn’t handle the drawing properly when the image is scaled. It doesn’t scale the … Continue reading

Posted in drawing, files, graphics, serialization, transformations | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | 1 Comment

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