Browse Source

Notes

af/merge-core
James Jackson-South 8 years ago
parent
commit
6683287d95
  1. 2
      src/ImageSharp/ColorSpaces/Conversion/Implementation/RgbWorkingSpace.cs
  2. 4
      src/ImageSharp/PixelFormats/README.md

2
src/ImageSharp/ColorSpaces/Conversion/Implementation/RgbWorkingSpace.cs

@ -73,7 +73,7 @@ namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Implementation
/// <inheritdoc/>
public bool Equals(RgbWorkingSpace other)
{
// TODO: Object.Equals for ICompanding will be slow.
// Object.Equals for ICompanding compares the reference only.
return this.WhitePoint.Equals(other.WhitePoint)
&& this.ChromaticityCoordinates.Equals(other.ChromaticityCoordinates)
&& Equals(this.Companding, other.Companding);

4
src/ImageSharp/PixelFormats/README.md

@ -2,9 +2,5 @@
https://github.com/MonoGame/MonoGame
Rgba32 is our default format. As such it positioned within the ImageSharp root namespace to ensure visibility of the format.
All other pixel formats should be positioned within ImageSharp.PixelFormats to reduce intellisense burden.
The naming convention of each pixel format is to order the color components from least significant to most significant, reading from left to right.
For example in the Rgba32 pixel format the R component is the least significant byte, and the A component is the most significant.

Loading…
Cancel
Save