We load a JPEG image, render it on the resulting bitmap using BitBlt, then scan the image's pixels and change the color of pixels with all color channels at zero to magenta. The original photo is shown in the top left corner for reference.
This sample is identical to 'Black Clipping (TIFF)' but uses a JPEG image instead of a TIFF (the images' size and resolution are the same). The result highlights the differences between the two formats.
DsImaging is compatible with .NET 6 or later, .NET Core 2.0 or later, .NET Standard 2.x, .NET Framework 4.6.1 or later. All features are supported on Windows, macOS and Linux.