Browse Source

Move adobe transforms to constants. [skip ci]

Former-commit-id: 9d3ce39703340dcc507fa395eae0888d2f239e47
Former-commit-id: 4cdf934c53f6addf88c7bb645804feea0b47c7e5
Former-commit-id: e29fcd94b179e8e377871eee0035d212145c5fe6
af/merge-core
James Jackson-South 10 years ago
parent
commit
0bae8d559f
  1. 21
      src/ImageProcessorCore/Formats/Jpg/JpegConstants.cs
  2. 2
      src/ImageProcessorCore/Formats/Jpg/JpegDecoderCore.cs.REMOVED.git-id
  3. 1
      tests/ImageProcessorCore.Tests/FileTestBase.cs

21
src/ImageProcessorCore/Formats/Jpg/JpegConstants.cs

@ -205,5 +205,26 @@ namespace ImageProcessorCore.Formats
/// </summary>
public const byte APP15 = 0xef;
}
/// <summary>
/// Describes Adobe specific markers <see href="http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/JPEG.html#Adobe"/>
/// </summary>
internal static class Adobe
{
/// <summary>
/// The color transform is unknown.(RGB or CMYK)
/// </summary>
public const int ColorTransformUnknown = 0;
/// <summary>
/// The color transform is YCbCr (luminance, red chroma, blue chroma)
/// </summary>
public const int ColorTransformYCbCr = 1;
/// <summary>
/// The color transform is YCCK (luminance, red chroma, blue chroma, keyline)
/// </summary>
public const int ColorTransformYcck = 2;
}
}
}

2
src/ImageProcessorCore/Formats/Jpg/JpegDecoderCore.cs.REMOVED.git-id

@ -1 +1 @@
8ce31914f581080b90c50b6a6529db20a29e7551
d6958d9584977251f1a5b84a877bb4c3a1336135

1
tests/ImageProcessorCore.Tests/FileTestBase.cs

@ -23,6 +23,7 @@ namespace ImageProcessorCore.Tests
//TestImages.Png.Pd,
//TestImages.Jpg.Floorplan, // Perf: Enable for local testing only
TestImages.Jpg.Calliphora,
//TestImages.Jpg.Cmyk, // Perf: Enable for local testing only
//TestImages.Jpg.Turtle,
//TestImages.Jpg.Fb, // Perf: Enable for local testing only
//TestImages.Jpg.Progress, // Perf: Enable for local testing only

Loading…
Cancel
Save