Search code examples
c#image-processingimagesharp

How to shift color of part of an image with ImageSharp?


I need to make a highlighter effect as if drawing with a transparent ink.

How do I do this in ImageSharp (or any other C# image processing library)?

Example Image:

Image where some text is highlighted with a transparent color


Solution

  • Looks like I can just set alpha on the pen's color to something other than 255 in ImageSharp.