📷 A modern, cross-platform, 2D Graphics library for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Franz Häring 2d3ab4ebd5 New overloads for binary threshold operations. The new argument ColorComponent defines the scalar color component to be used for threshold comparison: Luminance, Saturation or MaxChroma. Luminance is default and identical to previous versions. Saturation is the HSL saturation component. MaxChroma is calculated as the maximum of YCbCr chroma value, i.e. Cb and Cr distance from achromatic value. Background: This component shall discriminate colorful parts from achromatic parts in human perception. Very dark pixels, which are perceived as near black, can have high HSL saturation values if e.g. (rgb)==(4,0,0); this would definitely not be perceived as colorful by a human. The MaxChroma component will calculate them low. 5 years ago
..
LoadTestInput Add output reference images 5 years ago
ReferenceOutput New overloads for binary threshold operations. The new argument ColorComponent defines the scalar color component to be used for threshold comparison: Luminance, Saturation or MaxChroma. Luminance is default and identical to previous versions. Saturation is the HSL saturation component. MaxChroma is calculated as the maximum of YCbCr chroma value, i.e. Cb and Cr distance from achromatic value. Background: This component shall discriminate colorful parts from achromatic parts in human perception. Very dark pixels, which are perceived as near black, can have high HSL saturation values if e.g. (rgb)==(4,0,0); this would definitely not be perceived as colorful by a human. The MaxChroma component will calculate them low. 5 years ago
tools Add output reference images 5 years ago
README.md Add output reference images 5 years ago

README.md

ReferenceOutput

Contains images to validate against in ImageSharp tests. In most cases the file hierarchy follows the hierarchy of ActualOutput

tools

Various utilities to help dealing with images.

  • optipng.exe: lossless PNG compressor, to keep the ReferenceImages folder as small as possible
  • optimize-all.cmd: Runs lossless optimizer for reference PNG-s. Currently it has to be manually edited to add new test class directories.
  • dump-jpeg-coeffs.exe