Skip to content

Instantly share code, notes, and snippets.

View clovergaze's full-sized avatar
:octocat:
May your code be bug-free

Johannes Hillert clovergaze

:octocat:
May your code be bug-free
View GitHub Profile
@clovergaze
clovergaze / DetectPixels.cs
Last active April 10, 2021 12:37
Crop image area by detecting colored pixels (code for a CodeProject answer)
using System;
namespace DetectPixels
{
class Color
{
// Color components
public int R, G, B;
// Set color components