Browse Source

used wrong bit positions

af/merge-core
Johannes Bildstein 9 years ago
parent
commit
1e95f7a5fe
  1. 8
      src/ImageSharp/MetaData/Profiles/ICC/Enums/IccDeviceAttribute.cs
  2. 4
      src/ImageSharp/MetaData/Profiles/ICC/Enums/IccProfileFlag.cs

8
src/ImageSharp/MetaData/Profiles/ICC/Enums/IccDeviceAttribute.cs

@ -18,7 +18,7 @@ namespace ImageSharp
/// <summary> /// <summary>
/// Opacity transparent /// Opacity transparent
/// </summary> /// </summary>
OpacityTransparent = 1 << 31, OpacityTransparent = 1 << 0,
/// <summary> /// <summary>
/// Opacity reflective /// Opacity reflective
@ -28,7 +28,7 @@ namespace ImageSharp
/// <summary> /// <summary>
/// Reflectivity matte /// Reflectivity matte
/// </summary> /// </summary>
ReflectivityMatte = 1 << 30, ReflectivityMatte = 1 << 1,
/// <summary> /// <summary>
/// Reflectivity glossy /// Reflectivity glossy
@ -38,7 +38,7 @@ namespace ImageSharp
/// <summary> /// <summary>
/// Polarity negative /// Polarity negative
/// </summary> /// </summary>
PolarityNegative = 1 << 29, PolarityNegative = 1 << 2,
/// <summary> /// <summary>
/// Polarity positive /// Polarity positive
@ -48,7 +48,7 @@ namespace ImageSharp
/// <summary> /// <summary>
/// Chroma black and white /// Chroma black and white
/// </summary> /// </summary>
ChromaBlackWhite = 1 << 28, ChromaBlackWhite = 1 << 3,
/// <summary> /// <summary>
/// Chroma color /// Chroma color

4
src/ImageSharp/MetaData/Profiles/ICC/Enums/IccProfileFlag.cs

@ -18,11 +18,11 @@ namespace ImageSharp
/// <summary> /// <summary>
/// Profile is embedded within another file /// Profile is embedded within another file
/// </summary> /// </summary>
Embedded = 1 << 31, Embedded = 1 << 0,
/// <summary> /// <summary>
/// Profile cannot be used independently of the embedded colour data /// Profile cannot be used independently of the embedded colour data
/// </summary> /// </summary>
Independent = 1 << 30, Independent = 1 << 1,
} }
} }

Loading…
Cancel
Save