Browse Source

Fix namespaces

pull/1570/head
Brian Popow 5 years ago
parent
commit
778c5baaa7
  1. 1
      src/ImageSharp/Formats/Tiff/Compression/ModifiedHuffmanTiffCompression.cs
  2. 2
      src/ImageSharp/Formats/Tiff/Compression/T4TiffCompression.cs
  3. 2
      src/ImageSharp/Formats/Tiff/Compression/TiffBaseCompression.cs
  4. 1
      src/ImageSharp/Formats/Tiff/Compression/TiffCompressionFactory.cs
  5. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffByteOrder.cs
  6. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffCompression.cs
  7. 4
      src/ImageSharp/Formats/Tiff/Constants/TiffConstants.cs
  8. 4
      src/ImageSharp/Formats/Tiff/Constants/TiffExtraSamples.cs
  9. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffFillOrder.cs
  10. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffNewSubfileType.cs
  11. 4
      src/ImageSharp/Formats/Tiff/Constants/TiffOrientation.cs
  12. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffPhotometricInterpretation.cs
  13. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffPlanarConfiguration.cs
  14. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffPredictor.cs
  15. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffResolutionUnit.cs
  16. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffSampleFormat.cs
  17. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffSubfileType.cs
  18. 8
      src/ImageSharp/Formats/Tiff/Constants/TiffThresholding.cs
  19. 3
      src/ImageSharp/Formats/Tiff/Ifd/DirectoryReader.cs
  20. 5
      src/ImageSharp/Formats/Tiff/Ifd/EntryReader.cs
  21. 6
      src/ImageSharp/Formats/Tiff/Streams/TiffBigEndianStream.cs
  22. 6
      src/ImageSharp/Formats/Tiff/Streams/TiffLittleEndianStream.cs
  23. 3
      src/ImageSharp/Formats/Tiff/Streams/TiffStream.cs
  24. 2
      src/ImageSharp/Formats/Tiff/TiffDecoderCore.cs
  25. 2
      src/ImageSharp/Formats/Tiff/TiffDecoderHelpers.cs
  26. 1
      src/ImageSharp/Formats/Tiff/TiffEncoderCore.cs
  27. 2
      src/ImageSharp/Formats/Tiff/TiffFormat.cs
  28. 3
      src/ImageSharp/Formats/Tiff/TiffFrameMetadata.cs
  29. 2
      src/ImageSharp/Formats/Tiff/TiffMetadata.cs
  30. 4
      tests/ImageSharp.Tests/Formats/Tiff/TiffDecoderTests.cs
  31. 2
      tests/ImageSharp.Tests/Formats/Tiff/TiffMetadataTests.cs

1
src/ImageSharp/Formats/Tiff/Compression/ModifiedHuffmanTiffCompression.cs

@ -4,6 +4,7 @@
using System;
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Memory;
namespace SixLabors.ImageSharp.Formats.Tiff.Compression

2
src/ImageSharp/Formats/Tiff/Compression/T4TiffCompression.cs

@ -3,6 +3,8 @@
using System;
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Memory;
namespace SixLabors.ImageSharp.Formats.Tiff.Compression

2
src/ImageSharp/Formats/Tiff/Compression/TiffBaseCompression.cs

@ -3,6 +3,8 @@
using System;
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Memory;
namespace SixLabors.ImageSharp.Formats.Tiff.Compression

1
src/ImageSharp/Formats/Tiff/Compression/TiffCompressionFactory.cs

@ -1,6 +1,7 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Memory;
namespace SixLabors.ImageSharp.Formats.Tiff.Compression

2
src/ImageSharp/Formats/Tiff/Constants/TiffByteOrder.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Tiff.Constants
{
/// <summary>
/// The tiff data stream byte order enum.

2
src/ImageSharp/Formats/Tiff/Constants/TiffCompression.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Tiff.Constants
{
/// <summary>
/// Enumeration representing the compression formats defined by the Tiff file-format.

4
src/ImageSharp/Formats/Tiff/Constants/TiffConstants.cs

@ -1,9 +1,9 @@
// Copyright (c) Six Labors.
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System.Collections.Generic;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Tiff.Constants
{
/// <summary>
/// Defines constants defined in the TIFF specification.

4
src/ImageSharp/Formats/Tiff/Constants/TiffExtraSamples.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Tiff.Constants
{
/// <summary>
/// Enumeration representing the possible uses of extra components in TIFF format files.
@ -23,4 +23,4 @@ namespace SixLabors.ImageSharp.Formats.Tiff
/// </summary>
UnassociatedAlpha = 2
}
}
}

2
src/ImageSharp/Formats/Tiff/Constants/TiffFillOrder.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Tiff.Constants
{
/// <summary>
/// Enumeration representing the fill orders defined by the Tiff file-format.

2
src/ImageSharp/Formats/Tiff/Constants/TiffNewSubfileType.cs

@ -3,7 +3,7 @@
using System;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Tiff.Constants
{
/// <summary>
/// Enumeration representing the sub-file types defined by the Tiff file-format.

4
src/ImageSharp/Formats/Tiff/Constants/TiffOrientation.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Tiff.Constants
{
/// <summary>
/// Enumeration representing the image orientations defined by the Tiff file-format.
@ -48,4 +48,4 @@ namespace SixLabors.ImageSharp.Formats.Tiff
/// </summary>
LeftBottom = 8
}
}
}

2
src/ImageSharp/Formats/Tiff/Constants/TiffPhotometricInterpretation.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Tiff.Constants
{
/// <summary>
/// Enumeration representing the photometric interpretation formats defined by the Tiff file-format.

2
src/ImageSharp/Formats/Tiff/Constants/TiffPlanarConfiguration.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Tiff.Constants
{
/// <summary>
/// Enumeration representing how the components of each pixel are stored the Tiff file-format.

2
src/ImageSharp/Formats/Tiff/Constants/TiffPredictor.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Tiff.Constants
{
/// <summary>
/// A mathematical operator that is applied to the image data before an encoding scheme is applied.

2
src/ImageSharp/Formats/Tiff/Constants/TiffResolutionUnit.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Tiff.Constants
{
/// <summary>
/// Enumeration representing the resolution units defined by the Tiff file-format.

2
src/ImageSharp/Formats/Tiff/Constants/TiffSampleFormat.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Tiff.Constants
{
/// <summary>
/// Specifies how to interpret each data sample in a pixel.

2
src/ImageSharp/Formats/Tiff/Constants/TiffSubfileType.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Tiff.Constants
{
/// <summary>
/// Enumeration representing the sub-file types defined by the Tiff file-format.

8
src/ImageSharp/Formats/Tiff/Constants/TiffThreshholding.cs → src/ImageSharp/Formats/Tiff/Constants/TiffThresholding.cs

@ -1,12 +1,12 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Tiff.Constants
{
/// <summary>
/// Enumeration representing the threshholding applied to image data defined by the Tiff file-format.
/// Enumeration representing the thresholding applied to image data defined by the Tiff file-format.
/// </summary>
internal enum TiffThreshholding
internal enum TiffThresholding
{
/// <summary>
/// No dithering or halftoning.
@ -23,4 +23,4 @@ namespace SixLabors.ImageSharp.Formats.Tiff
/// </summary>
Random = 3
}
}
}

3
src/ImageSharp/Formats/Tiff/Ifd/DirectoryReader.cs

@ -2,6 +2,9 @@
// Licensed under the Apache License, Version 2.0.
using System.Collections.Generic;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Tiff.Streams;
using SixLabors.ImageSharp.Metadata.Profiles.Exif;
namespace SixLabors.ImageSharp.Formats.Tiff

5
src/ImageSharp/Formats/Tiff/Ifd/EntryReader.cs

@ -3,9 +3,10 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Tiff.Streams;
using SixLabors.ImageSharp.Metadata.Profiles.Exif;
namespace SixLabors.ImageSharp.Formats.Tiff

6
src/ImageSharp/Formats/Tiff/Streams/TiffBigEndianStream.cs

@ -1,10 +1,12 @@
// Copyright (c) Six Labors.
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.IO;
namespace SixLabors.ImageSharp.Formats.Tiff
using SixLabors.ImageSharp.Formats.Tiff.Constants;
namespace SixLabors.ImageSharp.Formats.Tiff.Streams
{
internal class TiffBigEndianStream : TiffStream
{

6
src/ImageSharp/Formats/Tiff/Streams/TiffLittleEndianStream.cs

@ -1,10 +1,12 @@
// Copyright (c) Six Labors.
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.IO;
namespace SixLabors.ImageSharp.Formats.Tiff
using SixLabors.ImageSharp.Formats.Tiff.Constants;
namespace SixLabors.ImageSharp.Formats.Tiff.Streams
{
internal class TiffLittleEndianStream : TiffStream
{

3
src/ImageSharp/Formats/Tiff/Streams/TiffStream.cs

@ -2,8 +2,9 @@
// Licensed under the Apache License, Version 2.0.
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Tiff.Streams
{
/// <summary>
/// The tiff data stream base class.

2
src/ImageSharp/Formats/Tiff/TiffDecoderCore.cs

@ -7,6 +7,8 @@ using System.Linq;
using System.Threading;
using SixLabors.ImageSharp.Formats.Tiff.Compression;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Tiff.Streams;
using SixLabors.ImageSharp.IO;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.Metadata;

2
src/ImageSharp/Formats/Tiff/TiffDecoderHelpers.cs

@ -3,7 +3,9 @@
using System.Collections.Generic;
using System.Linq;
using SixLabors.ImageSharp.Formats.Tiff.Compression;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Metadata;
using SixLabors.ImageSharp.Metadata.Profiles.Exif;
using SixLabors.ImageSharp.Metadata.Profiles.Icc;

1
src/ImageSharp/Formats/Tiff/TiffEncoderCore.cs

@ -7,6 +7,7 @@ using System.IO;
using System.Threading;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Tiff.Utils;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.Metadata;

2
src/ImageSharp/Formats/Tiff/TiffFormat.cs

@ -3,6 +3,8 @@
using System.Collections.Generic;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
namespace SixLabors.ImageSharp.Formats.Tiff
{
/// <summary>

3
src/ImageSharp/Formats/Tiff/TiffFrameMetadata.cs

@ -1,9 +1,10 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Collections.Generic;
using System.Linq;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Metadata.Profiles.Exif;
namespace SixLabors.ImageSharp.Formats.Tiff

2
src/ImageSharp/Formats/Tiff/TiffMetadata.cs

@ -1,6 +1,8 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Formats.Tiff.Constants;
namespace SixLabors.ImageSharp.Formats.Tiff
{
/// <summary>

4
tests/ImageSharp.Tests/Formats/Tiff/TiffDecoderTests.cs

@ -2,14 +2,16 @@
// Licensed under the Apache License, Version 2.0.
// ReSharper disable InconsistentNaming
using System;
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Metadata;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Tests.TestUtilities.ImageComparison;
using SixLabors.ImageSharp.Tests.TestUtilities.ReferenceCodecs;
using Xunit;
namespace SixLabors.ImageSharp.Tests.Formats.Tiff

2
tests/ImageSharp.Tests/Formats/Tiff/TiffMetadataTests.cs

@ -2,8 +2,10 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Formats.Tiff;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Metadata;
using SixLabors.ImageSharp.PixelFormats;
using Xunit;
namespace SixLabors.ImageSharp.Tests.Formats.Tiff

Loading…
Cancel
Save