Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

#Chord Image Generator

Chord Image Generator is a small .NET library to generate images of guitar chords. It can display chord boxes, starting frets, barred chords, fingerings and open and muted strings.

Image of a D Chord Image of a A Chord Image of a A Chord

There is a small example website at where you can try different chords and see how they are constructed. But basically it is just done by constructing the right url, name of the file is the name of the chord, finger positions (p), finger numbers (f) and size (s) are querystring parameters. E.g. the chords above are the following urls:

There is nothing web specific about the actual image generation. It can be saved to any stream so you could just as easily use it in a desktop application.

Using the project

This project has been updated to use .NET Core 2.2. Clone the repository from GitHub, then go into the folder where it is and run:

dotnet restore
dotnet run

That should start a local web server on port 5000, access it as https://localhost:5000/ .

If you're on a Mac you will need to install mono-libgdiplus like this: brew install mono-libgdiplus. The project should run on a Mac and on Linux but the drawing might not look exactly the same as it does on Windows, because of GDI+ differences.

The source is licensed under the MIT License. You are also free to link directly to, although I give no guarantees about uptime or reliability.


A .NET library to generate images of guitar chords.







No releases published


No packages published