-
Notifications
You must be signed in to change notification settings - Fork 2
/
DitherAlgorithms.cs
69 lines (67 loc) · 1.66 KB
/
DitherAlgorithms.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#region Header
// DitherAlgorithms.cs
// PTIRelianceLib
// Cory Todd
// 13-06-2018
// 1:20 PM
#endregion
namespace PTIRelianceLib.Imaging
{
using System.Runtime.Serialization;
/// <summary>
/// List of available dithering algorithms
/// </summary>
public enum DitherAlgorithms
{
/// <summary>
/// Dither algorithm reduces color depth but maintains detail accuracy
/// </summary>
[EnumMember(Value = "Dia")]
JarvisJudiceNinke,
/// <summary>
/// Better color deptch, lower accuracy
/// </summary>
[EnumMember(Value = "Metis")]
FloydSteinberg,
/// <summary>
/// Simple dither
/// </summary>
[EnumMember(Value = "Io")]
Atkinson,
/// <summary>
/// Simple dither
/// </summary>
[EnumMember(Value = "Leda")]
Stucki,
/// <summary>
/// Raw image
/// </summary>
[EnumMember(Value = "Adrastea")]
None,
/// <summary>
/// Simple dither
/// </summary>
[EnumMember(Value = "Carpo")]
FloydSteinbergFalse,
/// <summary>
/// Decent dithering
/// </summary>
[EnumMember(Value = "Europa")]
Sierra,
/// <summary>
/// Slightly better Sierra kernel
/// </summary>
[EnumMember(Value = "Thebe")]
Sierra2,
/// <summary>
/// Fast Sierra kernel
/// </summary>
[EnumMember(Value = "Ganymede")]
SierraLite,
/// <summary>
/// Decent dithering
/// </summary>
[EnumMember(Value = "Callisto")]
Burkes,
}
}