From 4516ec445aa6ebc28c45b2c77e34f754b5186cca Mon Sep 17 00:00:00 2001 From: Brian Popow Date: Sun, 9 May 2021 10:37:06 +0200 Subject: [PATCH] Rename generic type classes to include the type in the filename --- ...lackIsZero1TiffColor.cs => BlackIsZero1TiffColor{TPixel}.cs} | 0 ...lackIsZero4TiffColor.cs => BlackIsZero4TiffColor{TPixel}.cs} | 0 ...lackIsZero8TiffColor.cs => BlackIsZero8TiffColor{TPixel}.cs} | 0 ...{BlackIsZeroTiffColor.cs => BlackIsZeroTiffColor{TPixel}.cs} | 0 .../{PaletteTiffColor.cs => PaletteTiffColor{TPixel}.cs} | 0 .../{Rgb888TiffColor.cs => Rgb888TiffColor{TPixel}.cs} | 0 .../{RgbPlanarTiffColor.cs => RgbPlanarTiffColor{TPixel}.cs} | 2 +- .../{RgbTiffColor.cs => RgbTiffColor{TPixel}.cs} | 0 ...{TiffBaseColorDecoder.cs => TiffBaseColorDecoder{TPixel}.cs} | 0 ...olorDecoderFactory.cs => TiffColorDecoderFactory{TPixel}.cs} | 0 ...hiteIsZero1TiffColor.cs => WhiteIsZero1TiffColor{TPixel}.cs} | 0 ...hiteIsZero4TiffColor.cs => WhiteIsZero4TiffColor{TPixel}.cs} | 0 ...hiteIsZero8TiffColor.cs => WhiteIsZero8TiffColor{TPixel}.cs} | 0 ...{WhiteIsZeroTiffColor.cs => WhiteIsZeroTiffColor{TPixel}.cs} | 0 .../{TiffBaseColorWriter.cs => TiffBaseColorWriter{TPixel}.cs} | 0 .../{TiffBiColorWriter.cs => TiffBiColorWriter{TPixel}.cs} | 0 ...positeColorWriter.cs => TiffCompositeColorWriter{TPixel}.cs} | 0 .../Writers/{TiffGrayWriter.cs => TiffGrayWriter{TPixel}.cs} | 0 .../{TiffPaletteWriter.cs => TiffPaletteWriter{TPixel}.cs} | 0 .../Tiff/Writers/{TiffRgbWriter.cs => TiffRgbWriter{TPixel}.cs} | 0 20 files changed, 1 insertion(+), 1 deletion(-) rename src/ImageSharp/Formats/Tiff/PhotometricInterpretation/{BlackIsZero1TiffColor.cs => BlackIsZero1TiffColor{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/PhotometricInterpretation/{BlackIsZero4TiffColor.cs => BlackIsZero4TiffColor{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/PhotometricInterpretation/{BlackIsZero8TiffColor.cs => BlackIsZero8TiffColor{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/PhotometricInterpretation/{BlackIsZeroTiffColor.cs => BlackIsZeroTiffColor{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/PhotometricInterpretation/{PaletteTiffColor.cs => PaletteTiffColor{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/PhotometricInterpretation/{Rgb888TiffColor.cs => Rgb888TiffColor{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/PhotometricInterpretation/{RgbPlanarTiffColor.cs => RgbPlanarTiffColor{TPixel}.cs} (97%) rename src/ImageSharp/Formats/Tiff/PhotometricInterpretation/{RgbTiffColor.cs => RgbTiffColor{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/PhotometricInterpretation/{TiffBaseColorDecoder.cs => TiffBaseColorDecoder{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/PhotometricInterpretation/{TiffColorDecoderFactory.cs => TiffColorDecoderFactory{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/PhotometricInterpretation/{WhiteIsZero1TiffColor.cs => WhiteIsZero1TiffColor{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/PhotometricInterpretation/{WhiteIsZero4TiffColor.cs => WhiteIsZero4TiffColor{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/PhotometricInterpretation/{WhiteIsZero8TiffColor.cs => WhiteIsZero8TiffColor{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/PhotometricInterpretation/{WhiteIsZeroTiffColor.cs => WhiteIsZeroTiffColor{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/Writers/{TiffBaseColorWriter.cs => TiffBaseColorWriter{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/Writers/{TiffBiColorWriter.cs => TiffBiColorWriter{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/Writers/{TiffCompositeColorWriter.cs => TiffCompositeColorWriter{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/Writers/{TiffGrayWriter.cs => TiffGrayWriter{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/Writers/{TiffPaletteWriter.cs => TiffPaletteWriter{TPixel}.cs} (100%) rename src/ImageSharp/Formats/Tiff/Writers/{TiffRgbWriter.cs => TiffRgbWriter{TPixel}.cs} (100%) diff --git a/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero1TiffColor.cs b/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero1TiffColor{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero1TiffColor.cs rename to src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero1TiffColor{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero4TiffColor.cs b/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero4TiffColor{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero4TiffColor.cs rename to src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero4TiffColor{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero8TiffColor.cs b/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero8TiffColor{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero8TiffColor.cs rename to src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZero8TiffColor{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZeroTiffColor.cs b/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZeroTiffColor{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZeroTiffColor.cs rename to src/ImageSharp/Formats/Tiff/PhotometricInterpretation/BlackIsZeroTiffColor{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/PaletteTiffColor.cs b/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/PaletteTiffColor{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/PhotometricInterpretation/PaletteTiffColor.cs rename to src/ImageSharp/Formats/Tiff/PhotometricInterpretation/PaletteTiffColor{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/Rgb888TiffColor.cs b/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/Rgb888TiffColor{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/PhotometricInterpretation/Rgb888TiffColor.cs rename to src/ImageSharp/Formats/Tiff/PhotometricInterpretation/Rgb888TiffColor{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/RgbPlanarTiffColor.cs b/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/RgbPlanarTiffColor{TPixel}.cs similarity index 97% rename from src/ImageSharp/Formats/Tiff/PhotometricInterpretation/RgbPlanarTiffColor.cs rename to src/ImageSharp/Formats/Tiff/PhotometricInterpretation/RgbPlanarTiffColor{TPixel}.cs index ba98f829c..e45dd44bd 100644 --- a/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/RgbPlanarTiffColor.cs +++ b/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/RgbPlanarTiffColor{TPixel}.cs @@ -11,7 +11,7 @@ namespace SixLabors.ImageSharp.Formats.Tiff.PhotometricInterpretation /// /// Implements the 'RGB' photometric interpretation with 'Planar' layout (for all bit depths). /// - internal class RgbPlanarTiffColor /* : TiffColorDecoder */ + internal class RgbPlanarTiffColor where TPixel : unmanaged, IPixel { private readonly float rFactor; diff --git a/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/RgbTiffColor.cs b/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/RgbTiffColor{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/PhotometricInterpretation/RgbTiffColor.cs rename to src/ImageSharp/Formats/Tiff/PhotometricInterpretation/RgbTiffColor{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/TiffBaseColorDecoder.cs b/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/TiffBaseColorDecoder{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/PhotometricInterpretation/TiffBaseColorDecoder.cs rename to src/ImageSharp/Formats/Tiff/PhotometricInterpretation/TiffBaseColorDecoder{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/TiffColorDecoderFactory.cs b/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/TiffColorDecoderFactory{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/PhotometricInterpretation/TiffColorDecoderFactory.cs rename to src/ImageSharp/Formats/Tiff/PhotometricInterpretation/TiffColorDecoderFactory{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero1TiffColor.cs b/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero1TiffColor{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero1TiffColor.cs rename to src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero1TiffColor{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero4TiffColor.cs b/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero4TiffColor{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero4TiffColor.cs rename to src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero4TiffColor{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero8TiffColor.cs b/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero8TiffColor{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero8TiffColor.cs rename to src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZero8TiffColor{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZeroTiffColor.cs b/src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZeroTiffColor{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZeroTiffColor.cs rename to src/ImageSharp/Formats/Tiff/PhotometricInterpretation/WhiteIsZeroTiffColor{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/Writers/TiffBaseColorWriter.cs b/src/ImageSharp/Formats/Tiff/Writers/TiffBaseColorWriter{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/Writers/TiffBaseColorWriter.cs rename to src/ImageSharp/Formats/Tiff/Writers/TiffBaseColorWriter{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/Writers/TiffBiColorWriter.cs b/src/ImageSharp/Formats/Tiff/Writers/TiffBiColorWriter{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/Writers/TiffBiColorWriter.cs rename to src/ImageSharp/Formats/Tiff/Writers/TiffBiColorWriter{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/Writers/TiffCompositeColorWriter.cs b/src/ImageSharp/Formats/Tiff/Writers/TiffCompositeColorWriter{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/Writers/TiffCompositeColorWriter.cs rename to src/ImageSharp/Formats/Tiff/Writers/TiffCompositeColorWriter{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/Writers/TiffGrayWriter.cs b/src/ImageSharp/Formats/Tiff/Writers/TiffGrayWriter{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/Writers/TiffGrayWriter.cs rename to src/ImageSharp/Formats/Tiff/Writers/TiffGrayWriter{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/Writers/TiffPaletteWriter.cs b/src/ImageSharp/Formats/Tiff/Writers/TiffPaletteWriter{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/Writers/TiffPaletteWriter.cs rename to src/ImageSharp/Formats/Tiff/Writers/TiffPaletteWriter{TPixel}.cs diff --git a/src/ImageSharp/Formats/Tiff/Writers/TiffRgbWriter.cs b/src/ImageSharp/Formats/Tiff/Writers/TiffRgbWriter{TPixel}.cs similarity index 100% rename from src/ImageSharp/Formats/Tiff/Writers/TiffRgbWriter.cs rename to src/ImageSharp/Formats/Tiff/Writers/TiffRgbWriter{TPixel}.cs