Browse Source

Change tiff namespace to SixLabors.ImageSharp.Formats.Experimental.Tiff

pull/1570/head
Brian Popow 5 years ago
parent
commit
57fe8ea703
  1. 3
      src/ImageSharp/Advanced/AotCompilerTools.cs
  2. 2
      src/ImageSharp/Configuration.cs
  3. 2
      src/ImageSharp/Formats/ImageExtensions.Save.cs
  4. 2
      src/ImageSharp/Formats/Tiff/Compression/BitWriterUtils.cs
  5. 4
      src/ImageSharp/Formats/Tiff/Compression/DeflateTiffCompression.cs
  6. 4
      src/ImageSharp/Formats/Tiff/Compression/LzwTiffCompression.cs
  7. 4
      src/ImageSharp/Formats/Tiff/Compression/ModifiedHuffmanTiffCompression.cs
  8. 4
      src/ImageSharp/Formats/Tiff/Compression/NoneTiffCompression.cs
  9. 4
      src/ImageSharp/Formats/Tiff/Compression/PackBitsTiffCompression.cs
  10. 2
      src/ImageSharp/Formats/Tiff/Compression/PackBitsWriter.cs
  11. 2
      src/ImageSharp/Formats/Tiff/Compression/T4BitReader.cs
  12. 2
      src/ImageSharp/Formats/Tiff/Compression/T4BitWriter.cs
  13. 4
      src/ImageSharp/Formats/Tiff/Compression/T4TiffCompression.cs
  14. 4
      src/ImageSharp/Formats/Tiff/Compression/TiffBaseCompression.cs
  15. 4
      src/ImageSharp/Formats/Tiff/Compression/TiffCompressionFactory.cs
  16. 2
      src/ImageSharp/Formats/Tiff/Compression/TiffDecoderCompressionType.cs
  17. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffByteOrder.cs
  18. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffCompression.cs
  19. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffConstants.cs
  20. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffExtraSamples.cs
  21. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffFillOrder.cs
  22. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffNewSubfileType.cs
  23. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffOrientation.cs
  24. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffPhotometricInterpretation.cs
  25. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffPlanarConfiguration.cs
  26. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffPredictor.cs
  27. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffResolutionUnit.cs
  28. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffSampleFormat.cs
  29. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffSubfileType.cs
  30. 2
      src/ImageSharp/Formats/Tiff/Constants/TiffThresholding.cs
  31. 2
      src/ImageSharp/Formats/Tiff/ITiffDecoderOptions.cs
  32. 2
      src/ImageSharp/Formats/Tiff/ITiffEncoderOptions.cs
  33. 6
      src/ImageSharp/Formats/Tiff/Ifd/DirectoryReader.cs
  34. 6
      src/ImageSharp/Formats/Tiff/Ifd/EntryReader.cs
  35. 2
      src/ImageSharp/Formats/Tiff/ImageExtensions.cs
  36. 2
      src/ImageSharp/Formats/Tiff/MetadataExtensions.cs
  37. 2
      src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero1TiffColor.cs
  38. 2
      src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero4TiffColor.cs
  39. 2
      src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero8TiffColor.cs
  40. 4
      src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZeroTiffColor.cs
  41. 4
      src/ImageSharp/Formats/Tiff/PhotometricInterpretation/PaletteTiffColor.cs
  42. 2
      src/ImageSharp/Formats/Tiff/PhotometricInterpretation/Rgb888TiffColor.cs
  43. 4
      src/ImageSharp/Formats/Tiff/PhotometricInterpretation/RgbPlanarTiffColor.cs
  44. 4
      src/ImageSharp/Formats/Tiff/PhotometricInterpretation/RgbTiffColor.cs
  45. 2
      src/ImageSharp/Formats/Tiff/PhotometricInterpretation/TiffBaseColorDecoder.cs
  46. 2
      src/ImageSharp/Formats/Tiff/PhotometricInterpretation/TiffColorDecoderFactory.cs
  47. 2
      src/ImageSharp/Formats/Tiff/PhotometricInterpretation/TiffColorType.cs
  48. 2
      src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero1TiffColor.cs
  49. 2
      src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero4TiffColor.cs
  50. 2
      src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero8TiffColor.cs
  51. 4
      src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZeroTiffColor.cs
  52. 4
      src/ImageSharp/Formats/Tiff/Streams/TiffBigEndianStream.cs
  53. 4
      src/ImageSharp/Formats/Tiff/Streams/TiffLittleEndianStream.cs
  54. 4
      src/ImageSharp/Formats/Tiff/Streams/TiffStream.cs
  55. 2
      src/ImageSharp/Formats/Tiff/TiffBitsPerPixel.cs
  56. 2
      src/ImageSharp/Formats/Tiff/TiffConfigurationModule.cs
  57. 2
      src/ImageSharp/Formats/Tiff/TiffDecoder.cs
  58. 8
      src/ImageSharp/Formats/Tiff/TiffDecoderCore.cs
  59. 6
      src/ImageSharp/Formats/Tiff/TiffDecoderHelpers.cs
  60. 2
      src/ImageSharp/Formats/Tiff/TiffEncoder.cs
  61. 2
      src/ImageSharp/Formats/Tiff/TiffEncoderCompression.cs
  62. 6
      src/ImageSharp/Formats/Tiff/TiffEncoderCore.cs
  63. 2
      src/ImageSharp/Formats/Tiff/TiffEncodingMode.cs
  64. 4
      src/ImageSharp/Formats/Tiff/TiffFormat.cs
  65. 4
      src/ImageSharp/Formats/Tiff/TiffFrameMetadata.cs
  66. 2
      src/ImageSharp/Formats/Tiff/TiffImageFormatDetector.cs
  67. 4
      src/ImageSharp/Formats/Tiff/TiffMetadata.cs
  68. 2
      src/ImageSharp/Formats/Tiff/TiffThrowHelper.cs
  69. 2
      src/ImageSharp/Formats/Tiff/Utils/BitReader.cs
  70. 2
      src/ImageSharp/Formats/Tiff/Utils/SubStream.cs
  71. 2
      src/ImageSharp/Formats/Tiff/Utils/TiffLzwDecoder.cs
  72. 2
      src/ImageSharp/Formats/Tiff/Utils/TiffLzwEncoder.cs
  73. 2
      src/ImageSharp/Formats/Tiff/Utils/TiffUtils.cs
  74. 4
      src/ImageSharp/Formats/Tiff/Utils/TiffWriter.cs
  75. 2
      tests/ImageSharp.Tests/ConfigurationTests.cs
  76. 2
      tests/ImageSharp.Tests/Formats/Tiff/Compression/DeflateTiffCompressionTests.cs
  77. 4
      tests/ImageSharp.Tests/Formats/Tiff/Compression/LzwTiffCompressionTests.cs
  78. 2
      tests/ImageSharp.Tests/Formats/Tiff/Compression/NoneTiffCompressionTests.cs
  79. 4
      tests/ImageSharp.Tests/Formats/Tiff/Compression/PackBitsTiffCompressionTests.cs
  80. 2
      tests/ImageSharp.Tests/Formats/Tiff/PhotometricInterpretation/BlackIsZeroTiffColorTests.cs
  81. 2
      tests/ImageSharp.Tests/Formats/Tiff/PhotometricInterpretation/PaletteTiffColorTests.cs
  82. 2
      tests/ImageSharp.Tests/Formats/Tiff/PhotometricInterpretation/RgbPlanarTiffColorTests.cs
  83. 2
      tests/ImageSharp.Tests/Formats/Tiff/PhotometricInterpretation/RgbTiffColorTests.cs
  84. 2
      tests/ImageSharp.Tests/Formats/Tiff/PhotometricInterpretation/WhiteIsZeroTiffColorTests.cs
  85. 4
      tests/ImageSharp.Tests/Formats/Tiff/TiffDecoderTests.cs
  86. 4
      tests/ImageSharp.Tests/Formats/Tiff/TiffEncoderHeaderTests.cs
  87. 2
      tests/ImageSharp.Tests/Formats/Tiff/TiffEncoderTests.cs
  88. 2
      tests/ImageSharp.Tests/Formats/Tiff/TiffFormatTests.cs
  89. 4
      tests/ImageSharp.Tests/Formats/Tiff/TiffMetadataTests.cs
  90. 2
      tests/ImageSharp.Tests/Formats/Tiff/Utils/SubStreamTests.cs
  91. 2
      tests/ImageSharp.Tests/Formats/Tiff/Utils/TiffWriterTests.cs
  92. 2
      tests/ImageSharp.Tests/TestUtilities/TestEnvironment.Formats.cs

3
src/ImageSharp/Advanced/AotCompilerTools.cs

@ -8,7 +8,6 @@ using System.Runtime.CompilerServices;
using SixLabors.ImageSharp.Formats;
using SixLabors.ImageSharp.Formats.Jpeg.Components;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using SixLabors.ImageSharp.Processing.Processors.Dithering;
using SixLabors.ImageSharp.Processing.Processors.Quantization;
@ -95,7 +94,7 @@ namespace SixLabors.ImageSharp.Advanced
AotCodec<TPixel>(new Formats.Gif.GifDecoder(), new Formats.Gif.GifEncoder());
AotCodec<TPixel>(new Formats.Jpeg.JpegDecoder(), new Formats.Jpeg.JpegEncoder());
AotCodec<TPixel>(new Formats.Tga.TgaDecoder(), new Formats.Tga.TgaEncoder());
AotCodec<TPixel>(new Formats.Tiff.TiffDecoder(), new Formats.Tiff.TiffEncoder());
AotCodec<TPixel>(new Formats.Experimental.Tiff.TiffDecoder(), new Formats.Experimental.Tiff.TiffEncoder());
// TODO: Do the discovery work to figure out what works and what doesn't.
}

2
src/ImageSharp/Configuration.cs

@ -10,7 +10,7 @@ using SixLabors.ImageSharp.Formats.Gif;
using SixLabors.ImageSharp.Formats.Jpeg;
using SixLabors.ImageSharp.Formats.Png;
using SixLabors.ImageSharp.Formats.Tga;
using SixLabors.ImageSharp.Formats.Tiff;
using SixLabors.ImageSharp.Formats.Experimental.Tiff;
using SixLabors.ImageSharp.IO;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.Processing;

2
src/ImageSharp/Formats/ImageExtensions.Save.cs

@ -12,7 +12,7 @@ using SixLabors.ImageSharp.Formats.Gif;
using SixLabors.ImageSharp.Formats.Jpeg;
using SixLabors.ImageSharp.Formats.Png;
using SixLabors.ImageSharp.Formats.Tga;
using SixLabors.ImageSharp.Formats.Tiff;
using SixLabors.ImageSharp.Formats.Experimental.Tiff;
namespace SixLabors.ImageSharp
{

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

@ -3,7 +3,7 @@
using System;
namespace SixLabors.ImageSharp.Formats.Tiff.Compression
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression
{
internal static class BitWriterUtils
{

4
src/ImageSharp/Formats/Tiff/Compression/DeflateTiffCompression.cs

@ -4,10 +4,10 @@
using System;
using System.IO;
using System.IO.Compression;
using SixLabors.ImageSharp.Formats.Tiff.Utils;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils;
using SixLabors.ImageSharp.Memory;
namespace SixLabors.ImageSharp.Formats.Tiff.Compression
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression
{
/// <summary>
/// Class to handle cases where TIFF image data is compressed using Deflate compression.

4
src/ImageSharp/Formats/Tiff/Compression/LzwTiffCompression.cs

@ -3,10 +3,10 @@
using System;
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Utils;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils;
using SixLabors.ImageSharp.Memory;
namespace SixLabors.ImageSharp.Formats.Tiff.Compression
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression
{
/// <summary>
/// Class to handle cases where TIFF image data is compressed using LZW compression.

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

@ -4,10 +4,10 @@
using System;
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants;
using SixLabors.ImageSharp.Memory;
namespace SixLabors.ImageSharp.Formats.Tiff.Compression
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression
{
/// <summary>
/// Class to handle cases where TIFF image data is compressed using Modified Huffman Compression.

4
src/ImageSharp/Formats/Tiff/Compression/NoneTiffCompression.cs

@ -4,10 +4,10 @@
using System;
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Utils;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils;
using SixLabors.ImageSharp.Memory;
namespace SixLabors.ImageSharp.Formats.Tiff.Compression
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression
{
/// <summary>
/// Class to handle cases where TIFF image data is not compressed.

4
src/ImageSharp/Formats/Tiff/Compression/PackBitsTiffCompression.cs

@ -5,10 +5,10 @@ using System;
using System.Buffers;
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Utils;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils;
using SixLabors.ImageSharp.Memory;
namespace SixLabors.ImageSharp.Formats.Tiff.Compression
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression
{
/// <summary>
/// Class to handle cases where TIFF image data is compressed using PackBits compression.

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

@ -3,7 +3,7 @@
using System;
namespace SixLabors.ImageSharp.Formats.Tiff.Compression
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression
{
/// <summary>
/// Pack Bits compression for tiff images. See Tiff Spec v6, section 9.

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

@ -9,7 +9,7 @@ using System.Linq;
using SixLabors.ImageSharp.Memory;
namespace SixLabors.ImageSharp.Formats.Tiff.Compression
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression
{
/// <summary>
/// Bitreader for reading compressed CCITT T4 1D data.

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

@ -9,7 +9,7 @@ using System.IO;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff.Compression
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression
{
/// <summary>
/// Bitwriter for writing compressed CCITT T4 1D data.

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

@ -4,10 +4,10 @@
using System;
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants;
using SixLabors.ImageSharp.Memory;
namespace SixLabors.ImageSharp.Formats.Tiff.Compression
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression
{
/// <summary>
/// Class to handle cases where TIFF image data is compressed using CCITT T4 compression.

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

@ -4,10 +4,10 @@
using System;
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants;
using SixLabors.ImageSharp.Memory;
namespace SixLabors.ImageSharp.Formats.Tiff.Compression
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression
{
/// <summary>
/// Base tiff decompressor class.

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

@ -1,10 +1,10 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants;
using SixLabors.ImageSharp.Memory;
namespace SixLabors.ImageSharp.Formats.Tiff.Compression
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression
{
internal static class TiffCompressionFactory
{

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

@ -1,7 +1,7 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Formats.Tiff.Compression
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression
{
/// <summary>
/// Provides enumeration of the various TIFF compression types the decoder can handle.

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.Constants
namespace SixLabors.ImageSharp.Formats.Experimental.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.Constants
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants
{
/// <summary>
/// Enumeration representing the compression formats defined by the Tiff file-format.

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

@ -3,7 +3,7 @@
using System.Collections.Generic;
namespace SixLabors.ImageSharp.Formats.Tiff.Constants
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants
{
/// <summary>
/// Defines constants defined in the TIFF specification.

2
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.Constants
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants
{
/// <summary>
/// Enumeration representing the possible uses of extra components in TIFF format files.

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.Constants
namespace SixLabors.ImageSharp.Formats.Experimental.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.Constants
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants
{
/// <summary>
/// Enumeration representing the sub-file types defined by the Tiff file-format.

2
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.Constants
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants
{
/// <summary>
/// Enumeration representing the image orientations defined by the Tiff file-format.

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.Constants
namespace SixLabors.ImageSharp.Formats.Experimental.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.Constants
namespace SixLabors.ImageSharp.Formats.Experimental.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.Constants
namespace SixLabors.ImageSharp.Formats.Experimental.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.Constants
namespace SixLabors.ImageSharp.Formats.Experimental.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.Constants
namespace SixLabors.ImageSharp.Formats.Experimental.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.Constants
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants
{
/// <summary>
/// Enumeration representing the sub-file types defined by the Tiff file-format.

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

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

2
src/ImageSharp/Formats/Tiff/ITiffDecoderOptions.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.Experimental.Tiff
{
/// <summary>
/// Encapsulates the options for the <see cref="TiffDecoder"/>.

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

@ -3,7 +3,7 @@
using SixLabors.ImageSharp.Processing.Processors.Quantization;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Encapsulates the options for the <see cref="TiffEncoder"/>.

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

@ -3,11 +3,11 @@
using System.Collections.Generic;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Tiff.Streams;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Streams;
using SixLabors.ImageSharp.Metadata.Profiles.Exif;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// The TIFF IFD reader class.

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

@ -5,11 +5,11 @@ using System;
using System.Collections.Generic;
using System.Text;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Tiff.Streams;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Streams;
using SixLabors.ImageSharp.Metadata.Profiles.Exif;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
internal class EntryReader
{

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

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0.
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff;
using SixLabors.ImageSharp.Formats.Experimental.Tiff;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp

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

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

2
src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero1TiffColor.cs

@ -5,7 +5,7 @@ using System;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Implements the 'BlackIsZero' photometric interpretation (optimised for bilevel images).

2
src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero4TiffColor.cs

@ -5,7 +5,7 @@ using System;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Implements the 'BlackIsZero' photometric interpretation (optimised for 4-bit grayscale images).

2
src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero8TiffColor.cs

@ -5,7 +5,7 @@ using System;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Implements the 'BlackIsZero' photometric interpretation (optimised for 8-bit grayscale images).

4
src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZeroTiffColor.cs

@ -3,11 +3,11 @@
using System;
using System.Numerics;
using SixLabors.ImageSharp.Formats.Tiff.Utils;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Implements the 'BlackIsZero' photometric interpretation (for all bit depths).

4
src/ImageSharp/Formats/Tiff/PhotometricInterpretation/PaletteTiffColor.cs

@ -3,11 +3,11 @@
using System;
using System.Numerics;
using SixLabors.ImageSharp.Formats.Tiff.Utils;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Implements the 'PaletteTiffColor' photometric interpretation (for all bit depths).

2
src/ImageSharp/Formats/Tiff/PhotometricInterpretation/Rgb888TiffColor.cs

@ -5,7 +5,7 @@ using System;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Implements the 'RGB' photometric interpretation (optimised for 8-bit full color images).

4
src/ImageSharp/Formats/Tiff/PhotometricInterpretation/RgbPlanarTiffColor.cs

@ -2,11 +2,11 @@
// Licensed under the Apache License, Version 2.0.
using System.Numerics;
using SixLabors.ImageSharp.Formats.Tiff.Utils;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Implements the 'RGB' photometric interpretation with 'Planar' layout (for all bit depths).

4
src/ImageSharp/Formats/Tiff/PhotometricInterpretation/RgbTiffColor.cs

@ -3,11 +3,11 @@
using System;
using System.Numerics;
using SixLabors.ImageSharp.Formats.Tiff.Utils;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Implements the 'RGB' photometric interpretation (for all bit depths).

2
src/ImageSharp/Formats/Tiff/PhotometricInterpretation/TiffBaseColorDecoder.cs

@ -5,7 +5,7 @@ using System;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// The base class for photometric interpretation decoders.

2
src/ImageSharp/Formats/Tiff/PhotometricInterpretation/TiffColorDecoderFactory.cs

@ -4,7 +4,7 @@
using System;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
internal static class TiffColorDecoderFactory<TPixel>
where TPixel : unmanaged, IPixel<TPixel>

2
src/ImageSharp/Formats/Tiff/PhotometricInterpretation/TiffColorType.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.Experimental.Tiff
{
/// <summary>
/// Provides enumeration of the various TIFF photometric interpretation implementation types.

2
src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero1TiffColor.cs

@ -5,7 +5,7 @@ using System;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Implements the 'WhiteIsZero' photometric interpretation (optimised for bilevel images).

2
src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero4TiffColor.cs

@ -5,7 +5,7 @@ using System;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Implements the 'WhiteIsZero' photometric interpretation (optimised for 4-bit grayscale images).

2
src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero8TiffColor.cs

@ -5,7 +5,7 @@ using System;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Implements the 'WhiteIsZero' photometric interpretation (optimised for 8-bit grayscale images).

4
src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZeroTiffColor.cs

@ -3,11 +3,11 @@
using System;
using System.Numerics;
using SixLabors.ImageSharp.Formats.Tiff.Utils;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Implements the 'WhiteIsZero' photometric interpretation (for all bit depths).

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

@ -4,9 +4,9 @@
using System;
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants;
namespace SixLabors.ImageSharp.Formats.Tiff.Streams
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Streams
{
internal class TiffBigEndianStream : TiffStream
{

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

@ -4,9 +4,9 @@
using System;
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants;
namespace SixLabors.ImageSharp.Formats.Tiff.Streams
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Streams
{
internal class TiffLittleEndianStream : TiffStream
{

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

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

2
src/ImageSharp/Formats/Tiff/TiffBitsPerPixel.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.Experimental.Tiff
{
/// <summary>
/// Enumerates the available bits per pixel the tiff encoder supports.

2
src/ImageSharp/Formats/Tiff/TiffConfigurationModule.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.Experimental.Tiff
{
/// <summary>
/// Registers the image encoders, decoders and mime type detectors for the TIFF format.

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

@ -7,7 +7,7 @@ using System.Threading.Tasks;
using SixLabors.ImageSharp.IO;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Image decoder for generating an image out of a TIFF stream.

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

@ -6,16 +6,16 @@ using System.IO;
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.Formats.Experimental.Tiff.Compression;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Streams;
using SixLabors.ImageSharp.IO;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.Metadata;
using SixLabors.ImageSharp.Metadata.Profiles.Exif;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Performs the tiff decoding operation.

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

@ -4,14 +4,14 @@
using System.Collections.Generic;
using System.Linq;
using SixLabors.ImageSharp.Formats.Tiff.Compression;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants;
using SixLabors.ImageSharp.Metadata;
using SixLabors.ImageSharp.Metadata.Profiles.Exif;
using SixLabors.ImageSharp.Metadata.Profiles.Icc;
using SixLabors.ImageSharp.Metadata.Profiles.Iptc;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// The decoder helper methods.

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

@ -8,7 +8,7 @@ using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Processors.Quantization;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Encoder for writing the data image to a stream in TIFF format.

2
src/ImageSharp/Formats/Tiff/TiffEncoderCompression.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.Experimental.Tiff
{
/// <summary>
/// Indicates which tiff compression is used.

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

@ -7,8 +7,8 @@ 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.Formats.Experimental.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.Metadata;
using SixLabors.ImageSharp.Metadata.Profiles.Exif;
@ -16,7 +16,7 @@ using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using SixLabors.ImageSharp.Processing.Processors.Quantization;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Performs the TIFF encoding operation.

2
src/ImageSharp/Formats/Tiff/TiffEncodingMode.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.Experimental.Tiff
{
/// <summary>
/// Enum for the different tiff encoding options.

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

@ -3,9 +3,9 @@
using System.Collections.Generic;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Encapsulates the means to encode and decode Tiff images.

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

@ -4,10 +4,10 @@
using System.Collections.Generic;
using System.Linq;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants;
using SixLabors.ImageSharp.Metadata.Profiles.Exif;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Provides Tiff specific metadata information for the frame.

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

@ -3,7 +3,7 @@
using System;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Detects tiff file headers

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

@ -1,9 +1,9 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Provides Tiff specific metadata information for the image.

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

@ -5,7 +5,7 @@ using System;
using System.IO;
using System.Runtime.CompilerServices;
namespace SixLabors.ImageSharp.Formats.Tiff
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff
{
/// <summary>
/// Cold path optimizations for throwing tiff format based exceptions.

2
src/ImageSharp/Formats/Tiff/Utils/BitReader.cs

@ -3,7 +3,7 @@
using System;
namespace SixLabors.ImageSharp.Formats.Tiff.Utils
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils
{
/// <summary>
/// Utility class to read a sequence of bits from an array

2
src/ImageSharp/Formats/Tiff/Utils/SubStream.cs

@ -4,7 +4,7 @@
using System;
using System.IO;
namespace SixLabors.ImageSharp.Formats.Tiff.Utils
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils
{
/// <summary>
/// Utility class to encapsulate a sub-portion of another <see cref="Stream"/>.

2
src/ImageSharp/Formats/Tiff/Utils/TiffLzwDecoder.cs

@ -7,7 +7,7 @@ using System.IO;
using SixLabors.ImageSharp.Formats.Gif;
using SixLabors.ImageSharp.Memory;
namespace SixLabors.ImageSharp.Formats.Tiff.Utils
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils
{
/// <summary>
/// Decompresses and decodes data using the dynamic LZW algorithms.

2
src/ImageSharp/Formats/Tiff/Utils/TiffLzwEncoder.cs

@ -6,7 +6,7 @@ using System.Buffers;
using System.IO;
using SixLabors.ImageSharp.Formats.Gif;
namespace SixLabors.ImageSharp.Formats.Tiff.Utils
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils
{
/// <summary>
/// Encodes and compresses the image data using dynamic Lempel-Ziv compression.

2
src/ImageSharp/Formats/Tiff/Utils/TiffUtils.cs

@ -4,7 +4,7 @@
using System;
using System.IO;
namespace SixLabors.ImageSharp.Formats.Tiff.Utils
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils
{
/// <summary>
/// TIFF specific utilities and extension methods.

4
src/ImageSharp/Formats/Tiff/Utils/TiffWriter.cs

@ -8,7 +8,7 @@ using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Formats.Png;
using SixLabors.ImageSharp.Formats.Png.Zlib;
using SixLabors.ImageSharp.Formats.Tiff.Compression;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.Metadata.Profiles.Exif;
using SixLabors.ImageSharp.PixelFormats;
@ -16,7 +16,7 @@ using SixLabors.ImageSharp.Processing;
using SixLabors.ImageSharp.Processing.Processors.Dithering;
using SixLabors.ImageSharp.Processing.Processors.Quantization;
namespace SixLabors.ImageSharp.Formats.Tiff.Utils
namespace SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils
{
/// <summary>
/// Utility class for writing TIFF data to a <see cref="Stream"/>.

2
tests/ImageSharp.Tests/ConfigurationTests.cs

@ -21,7 +21,7 @@ namespace SixLabors.ImageSharp.Tests
public Configuration DefaultConfiguration { get; }
private readonly int expectedDefaultConfigurationCount = 5;
private readonly int expectedDefaultConfigurationCount = 6;
public ConfigurationTests()
{

2
tests/ImageSharp.Tests/Formats/Tiff/Compression/DeflateTiffCompressionTests.cs

@ -3,7 +3,7 @@
using System.IO;
using SixLabors.ImageSharp.Formats.Png.Zlib;
using SixLabors.ImageSharp.Formats.Tiff.Compression;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression;
using Xunit;
namespace SixLabors.ImageSharp.Tests.Formats.Tiff.Compression

4
tests/ImageSharp.Tests/Formats/Tiff/Compression/LzwTiffCompressionTests.cs

@ -3,8 +3,8 @@
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Compression;
using SixLabors.ImageSharp.Formats.Tiff.Utils;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils;
using Xunit;

2
tests/ImageSharp.Tests/Formats/Tiff/Compression/NoneTiffCompressionTests.cs

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0.
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Compression;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression;
using Xunit;
namespace SixLabors.ImageSharp.Tests.Formats.Tiff.Compression

4
tests/ImageSharp.Tests/Formats/Tiff/Compression/PackBitsTiffCompressionTests.cs

@ -4,7 +4,7 @@
using System;
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Compression;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Compression;
using SixLabors.ImageSharp.Memory;
using Xunit;
@ -34,8 +34,6 @@ namespace SixLabors.ImageSharp.Tests.Formats.Tiff.Compression
}
[Theory]
[InlineData(new byte[] { 0xAA, 0xAA, 0xAA, 0xCD, 0xBB, 0xBB, 0xBB, 0xBB }, new byte[] { 0xFE, 0xAA, 0x02, 0xCD, 0xFD, 0xBB })] // A run of 3, then one byte, followed by a run of 4.
[InlineData(new byte[] { 0xAB, 0xCD, 0xEF }, new byte[] { 0x04, 0xAB, 0xCD, 0xEF })] // all bytes are different.
[InlineData(new byte[] { 0xAA, 0xAA, 0xAA, 0x80, 0x00, 0x2A, 0xAA, 0xAA, 0xAA, 0xAA, 0x80, 0x00, 0x2A, 0x22, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA }, new byte[] { 0xFE, 0xAA, 0x02, 0x80, 0x00, 0x2A, 0xFD, 0xAA, 0x03, 0x80, 0x00, 0x2A, 0x22, 0xF7, 0xAA })] // Apple PackBits sample
public void Compress_Works(byte[] inputData, byte[] expectedResult)
{

2
tests/ImageSharp.Tests/Formats/Tiff/PhotometricInterpretation/BlackIsZeroTiffColorTests.cs

@ -3,7 +3,7 @@
using System.Collections.Generic;
using SixLabors.ImageSharp.Formats.Tiff;
using SixLabors.ImageSharp.Formats.Experimental.Tiff;
using SixLabors.ImageSharp.PixelFormats;
using Xunit;

2
tests/ImageSharp.Tests/Formats/Tiff/PhotometricInterpretation/PaletteTiffColorTests.cs

@ -3,7 +3,7 @@
using System.Collections.Generic;
using SixLabors.ImageSharp.Formats.Tiff;
using SixLabors.ImageSharp.Formats.Experimental.Tiff;
using SixLabors.ImageSharp.PixelFormats;
using Xunit;

2
tests/ImageSharp.Tests/Formats/Tiff/PhotometricInterpretation/RgbPlanarTiffColorTests.cs

@ -4,7 +4,7 @@
using System;
using System.Collections.Generic;
using SixLabors.ImageSharp.Formats.Tiff;
using SixLabors.ImageSharp.Formats.Experimental.Tiff;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;

2
tests/ImageSharp.Tests/Formats/Tiff/PhotometricInterpretation/RgbTiffColorTests.cs

@ -3,7 +3,7 @@
using System.Collections.Generic;
using SixLabors.ImageSharp.Formats.Tiff;
using SixLabors.ImageSharp.Formats.Experimental.Tiff;
using SixLabors.ImageSharp.PixelFormats;
using Xunit;

2
tests/ImageSharp.Tests/Formats/Tiff/PhotometricInterpretation/WhiteIsZeroTiffColorTests.cs

@ -3,7 +3,7 @@
using System.Collections.Generic;
using SixLabors.ImageSharp.Formats.Tiff;
using SixLabors.ImageSharp.Formats.Experimental.Tiff;
using SixLabors.ImageSharp.PixelFormats;
using Xunit;

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

@ -5,8 +5,8 @@
using System;
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Experimental.Tiff;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants;
using SixLabors.ImageSharp.Metadata;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Tests.TestUtilities.ImageComparison;

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

@ -3,8 +3,8 @@
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff;
using SixLabors.ImageSharp.Formats.Tiff.Utils;
using SixLabors.ImageSharp.Formats.Experimental.Tiff;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils;
using SixLabors.ImageSharp.Memory;
using Xunit;

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

@ -4,7 +4,7 @@
using System.IO;
using SixLabors.ImageSharp.Formats;
using SixLabors.ImageSharp.Formats.Tiff;
using SixLabors.ImageSharp.Formats.Experimental.Tiff;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Tests.TestUtilities.ImageComparison;
using SixLabors.ImageSharp.Tests.TestUtilities.ReferenceCodecs;

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

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

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

@ -1,8 +1,8 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Formats.Tiff;
using SixLabors.ImageSharp.Formats.Tiff.Constants;
using SixLabors.ImageSharp.Formats.Experimental.Tiff;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Constants;
using SixLabors.ImageSharp.Metadata;
using SixLabors.ImageSharp.PixelFormats;

2
tests/ImageSharp.Tests/Formats/Tiff/Utils/SubStreamTests.cs

@ -4,7 +4,7 @@
using System;
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Utils;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils;
using Xunit;

2
tests/ImageSharp.Tests/Formats/Tiff/Utils/TiffWriterTests.cs

@ -3,7 +3,7 @@
using System.IO;
using SixLabors.ImageSharp.Formats.Tiff.Utils;
using SixLabors.ImageSharp.Formats.Experimental.Tiff.Utils;
using SixLabors.ImageSharp.Memory;
using Xunit;

2
tests/ImageSharp.Tests/TestUtilities/TestEnvironment.Formats.cs

@ -9,7 +9,7 @@ using SixLabors.ImageSharp.Formats.Gif;
using SixLabors.ImageSharp.Formats.Jpeg;
using SixLabors.ImageSharp.Formats.Png;
using SixLabors.ImageSharp.Formats.Tga;
using SixLabors.ImageSharp.Formats.Tiff;
using SixLabors.ImageSharp.Formats.Experimental.Tiff;
using SixLabors.ImageSharp.Tests.TestUtilities.ReferenceCodecs;
namespace SixLabors.ImageSharp.Tests

Loading…
Cancel
Save