@@ -169,7 +169,7 @@ public void EncoderOptions_SetPhotometricInterpretationAndCompression_Works(
169
169
[ Theory ]
170
170
[ WithFile ( Calliphora_BiColorUncompressed , PixelTypes . Rgba32 , TiffBitsPerPixel . Bit1 ) ]
171
171
[ WithFile ( GrayscaleUncompressed , PixelTypes . Rgba32 , TiffBitsPerPixel . Bit8 ) ]
172
- [ WithFile ( GrayscaleUncompressed , PixelTypes . L16 , TiffBitsPerPixel . Bit16 ) ]
172
+ [ WithFile ( GrayscaleUncompressed16Bit , PixelTypes . L16 , TiffBitsPerPixel . Bit16 ) ]
173
173
[ WithFile ( RgbUncompressed , PixelTypes . Rgba32 , TiffBitsPerPixel . Bit24 ) ]
174
174
[ WithFile ( Rgb4BitPalette , PixelTypes . Rgba32 , TiffBitsPerPixel . Bit4 ) ]
175
175
[ WithFile ( RgbPalette , PixelTypes . Rgba32 , TiffBitsPerPixel . Bit8 ) ]
@@ -417,32 +417,32 @@ public void TiffEncoder_EncodeColorPalette_WithLzwCompressionAndPredictor_Works<
417
417
TestTiffEncoderCore ( provider , TiffBitsPerPixel . Bit8 , TiffPhotometricInterpretation . PaletteColor , TiffCompression . Lzw , TiffPredictor . Horizontal , useExactComparer : false , compareTolerance : 0.001f ) ;
418
418
419
419
[ Theory ]
420
- [ WithFile ( Calliphora_GrayscaleUncompressed , PixelTypes . Rgba32 ) ]
420
+ [ WithFile ( Calliphora_GrayscaleUncompressed16Bit , PixelTypes . Rgba32 ) ]
421
421
public void TiffEncoder_EncodeGray16_Works < TPixel > ( TestImageProvider < TPixel > provider )
422
422
where TPixel : unmanaged, IPixel < TPixel > => TestTiffEncoderCore ( provider , TiffBitsPerPixel . Bit16 , TiffPhotometricInterpretation . BlackIsZero ) ;
423
423
424
424
[ Theory ]
425
- [ WithFile ( Calliphora_GrayscaleUncompressed , PixelTypes . Rgba32 ) ]
425
+ [ WithFile ( Calliphora_GrayscaleUncompressed16Bit , PixelTypes . Rgba32 ) ]
426
426
public void TiffEncoder_EncodeGray16_WithDeflateCompression_Works < TPixel > ( TestImageProvider < TPixel > provider )
427
427
where TPixel : unmanaged, IPixel < TPixel > => TestTiffEncoderCore ( provider , TiffBitsPerPixel . Bit16 , TiffPhotometricInterpretation . BlackIsZero , TiffCompression . Deflate ) ;
428
428
429
429
[ Theory ]
430
- [ WithFile ( Calliphora_GrayscaleUncompressed , PixelTypes . Rgba32 ) ]
430
+ [ WithFile ( Calliphora_GrayscaleUncompressed16Bit , PixelTypes . Rgba32 ) ]
431
431
public void TiffEncoder_EncodeGray16_WithDeflateCompressionAndPredictor_Works < TPixel > ( TestImageProvider < TPixel > provider )
432
432
where TPixel : unmanaged, IPixel < TPixel > => TestTiffEncoderCore ( provider , TiffBitsPerPixel . Bit16 , TiffPhotometricInterpretation . BlackIsZero , TiffCompression . Deflate , TiffPredictor . Horizontal ) ;
433
433
434
434
[ Theory ]
435
- [ WithFile ( Calliphora_GrayscaleUncompressed , PixelTypes . Rgba32 ) ]
435
+ [ WithFile ( Calliphora_GrayscaleUncompressed16Bit , PixelTypes . Rgba32 ) ]
436
436
public void TiffEncoder_EncodeGray16_WithLzwCompression_Works < TPixel > ( TestImageProvider < TPixel > provider )
437
437
where TPixel : unmanaged, IPixel < TPixel > => TestTiffEncoderCore ( provider , TiffBitsPerPixel . Bit16 , TiffPhotometricInterpretation . BlackIsZero , TiffCompression . Lzw ) ;
438
438
439
439
[ Theory ]
440
- [ WithFile ( Calliphora_GrayscaleUncompressed , PixelTypes . Rgba32 ) ]
440
+ [ WithFile ( Calliphora_GrayscaleUncompressed16Bit , PixelTypes . Rgba32 ) ]
441
441
public void TiffEncoder_EncodeGray16_WithLzwCompressionAndPredictor_Works < TPixel > ( TestImageProvider < TPixel > provider )
442
442
where TPixel : unmanaged, IPixel < TPixel > => TestTiffEncoderCore ( provider , TiffBitsPerPixel . Bit16 , TiffPhotometricInterpretation . BlackIsZero , TiffCompression . Lzw , TiffPredictor . Horizontal ) ;
443
443
444
444
[ Theory ]
445
- [ WithFile ( Calliphora_GrayscaleUncompressed , PixelTypes . Rgba32 ) ]
445
+ [ WithFile ( Calliphora_GrayscaleUncompressed16Bit , PixelTypes . Rgba32 ) ]
446
446
public void TiffEncoder_EncodeGray16_WithPackBitsCompression_Works < TPixel > ( TestImageProvider < TPixel > provider )
447
447
where TPixel : unmanaged, IPixel < TPixel > => TestTiffEncoderCore ( provider , TiffBitsPerPixel . Bit16 , TiffPhotometricInterpretation . BlackIsZero , TiffCompression . PackBits ) ;
448
448
@@ -513,7 +513,7 @@ public void TiffEncoder_EncodeBiColor_WithModifiedHuffmanCompression_BlackIsZero
513
513
514
514
[ Theory ]
515
515
[ WithFile ( GrayscaleUncompressed , PixelTypes . L8 , TiffPhotometricInterpretation . BlackIsZero , TiffCompression . PackBits ) ]
516
- [ WithFile ( GrayscaleUncompressed , PixelTypes . L16 , TiffPhotometricInterpretation . BlackIsZero , TiffCompression . PackBits ) ]
516
+ [ WithFile ( GrayscaleUncompressed16Bit , PixelTypes . L16 , TiffPhotometricInterpretation . BlackIsZero , TiffCompression . PackBits ) ]
517
517
[ WithFile ( RgbUncompressed , PixelTypes . Rgba32 , TiffPhotometricInterpretation . Rgb , TiffCompression . Deflate ) ]
518
518
[ WithFile ( RgbUncompressed , PixelTypes . Rgb24 , TiffPhotometricInterpretation . Rgb , TiffCompression . None ) ]
519
519
[ WithFile ( RgbUncompressed , PixelTypes . Rgba32 , TiffPhotometricInterpretation . Rgb , TiffCompression . None ) ]
0 commit comments