mirror of https://github.com/SixLabors/ImageSharp
committed by
GitHub
21 changed files with 222 additions and 97 deletions
@ -0,0 +1,24 @@ |
|||
// Copyright(c) Six Labors and contributors.
|
|||
// Licensed under the Apache License, Version 2.0.
|
|||
|
|||
namespace SixLabors.ImageSharp.Common.Helpers |
|||
{ |
|||
/// <summary>
|
|||
/// Internal utilities intended to be only used in tests.
|
|||
/// </summary>
|
|||
internal static class TestHelpers |
|||
{ |
|||
/// <summary>
|
|||
/// This constant is useful to verify the target framework ImageSharp has been built against.
|
|||
/// Only intended to be used in tests!
|
|||
/// </summary>
|
|||
internal const string ImageSharpBuiltAgainst = |
|||
#if NETSTANDARD1_1
|
|||
"netstandard1.1"; |
|||
#elif NETCOREAPP2_1
|
|||
"netcoreapp2.1"; |
|||
#else
|
|||
"netstandard2.0"; |
|||
#endif
|
|||
} |
|||
} |
|||
@ -0,0 +1,21 @@ |
|||
// Copyright (c) Six Labors and contributors.
|
|||
// Licensed under the Apache License, Version 2.0.
|
|||
|
|||
namespace SixLabors.ImageSharp.MetaData.Profiles.Exif |
|||
{ |
|||
internal static class ExifConstants |
|||
{ |
|||
public static readonly byte[] Header = { |
|||
(byte)'E', |
|||
(byte)'x', |
|||
(byte)'i', |
|||
(byte)'f', |
|||
0x00, |
|||
0x00, |
|||
(byte)'I', |
|||
(byte)'I', |
|||
0x2A, |
|||
0x00, |
|||
}; |
|||
} |
|||
} |
|||
Loading…
Reference in new issue