Browse Source

Use smaller test images

pull/1734/head
Brian Popow 5 years ago
parent
commit
f59de37ca4
  1. 2
      tests/ImageSharp.Tests/Formats/Tiff/TiffDecoderTests.cs
  2. 4
      tests/Images/Input/Tiff/Calliphora_bicolor_uncompressed.tiff
  3. 4
      tests/Images/Input/Tiff/Calliphora_ccitt_fax3.tiff
  4. 4
      tests/Images/Input/Tiff/Calliphora_ccitt_fax4.tiff
  5. 4
      tests/Images/Input/Tiff/Calliphora_gray_deflate.tiff
  6. 4
      tests/Images/Input/Tiff/Calliphora_gray_deflate_predictor.tiff
  7. 4
      tests/Images/Input/Tiff/Calliphora_gray_lzw_predictor.tiff
  8. 4
      tests/Images/Input/Tiff/Calliphora_grayscale_uncompressed.tiff
  9. 4
      tests/Images/Input/Tiff/Calliphora_huffman_rle.tiff
  10. 4
      tests/Images/Input/Tiff/Calliphora_palette_uncompressed.tiff
  11. 4
      tests/Images/Input/Tiff/Calliphora_rgb_deflate_predictor.tiff
  12. 4
      tests/Images/Input/Tiff/Calliphora_rgb_jpeg.tiff
  13. 3
      tests/Images/Input/Tiff/Calliphora_rgb_lzw.tif
  14. 3
      tests/Images/Input/Tiff/Calliphora_rgb_lzw.tiff
  15. 4
      tests/Images/Input/Tiff/Calliphora_rgb_lzw_predictor.tiff
  16. 4
      tests/Images/Input/Tiff/Calliphora_rgb_packbits.tiff
  17. 4
      tests/Images/Input/Tiff/Calliphora_rgb_uncompressed.tiff

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

@ -37,7 +37,7 @@ namespace SixLabors.ImageSharp.Tests.Formats.Tiff
[Theory] [Theory]
[InlineData(RgbUncompressed, 24, 256, 256, 300, 300, PixelResolutionUnit.PixelsPerInch)] [InlineData(RgbUncompressed, 24, 256, 256, 300, 300, PixelResolutionUnit.PixelsPerInch)]
[InlineData(SmallRgbDeflate, 24, 32, 32, 96, 96, PixelResolutionUnit.PixelsPerInch)] [InlineData(SmallRgbDeflate, 24, 32, 32, 96, 96, PixelResolutionUnit.PixelsPerInch)]
[InlineData(Calliphora_GrayscaleUncompressed, 8, 804, 1198, 96, 96, PixelResolutionUnit.PixelsPerInch)] [InlineData(Calliphora_GrayscaleUncompressed, 8, 200, 298, 96, 96, PixelResolutionUnit.PixelsPerInch)]
[InlineData(Flower4BitPalette, 4, 73, 43, 72, 72, PixelResolutionUnit.PixelsPerInch)] [InlineData(Flower4BitPalette, 4, 73, 43, 72, 72, PixelResolutionUnit.PixelsPerInch)]
public void Identify(string imagePath, int expectedPixelSize, int expectedWidth, int expectedHeight, double expectedHResolution, double expectedVResolution, PixelResolutionUnit expectedResolutionUnit) public void Identify(string imagePath, int expectedPixelSize, int expectedWidth, int expectedHeight, double expectedHResolution, double expectedVResolution, PixelResolutionUnit expectedResolutionUnit)
{ {

4
tests/Images/Input/Tiff/Calliphora_bicolor_uncompressed.tiff

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:ed3b08730e5c34eb8d268f58d1e09efe2605398899bfd726cc3b35de21baa6ff oid sha256:c35902ca485fba441230efa88f794ee5aafa9f75ad5e4a14cb3d592a0a98c538
size 121196 size 7760

4
tests/Images/Input/Tiff/Calliphora_ccitt_fax3.tiff

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:bba35f1e43c8425f3bcfab682efae4d2c00c62f0d8a4b411e646d32047469526 oid sha256:da7d98823c284d92982a88c4a51434bbc140dceac245a8a054c6e41a489d0cc7
size 125802 size 5986

4
tests/Images/Input/Tiff/Calliphora_ccitt_fax4.tiff

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:7a2c95aec08b96bca30af344f7d9952a603a951802ce534a5f2c5f563795cbd2 oid sha256:3e968748833a239d06879ecf100681f5f93c8c3830558c438b684d78dd5faefa
size 117704 size 4258

4
tests/Images/Input/Tiff/Calliphora_gray_deflate.tiff

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:2314b31ca9938fa8b11cbabda0b118a90025a45d2931fca9afa131c0d6919aca oid sha256:d4d3541db6b7751d3225599aa822c3376fb27bb9dc2dd28674ef4f78bf426191
size 557717 size 83356

4
tests/Images/Input/Tiff/Calliphora_gray_deflate_predictor.tiff

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:b9576b3a49b84e26938a7e9ded5f43a1a3c3390bf4824803f5aaab8e00c1afb4 oid sha256:d007429701cc20154e84909af6988414001e6e60fba5c995f67b2a04cad6e57b
size 630947 size 41135

4
tests/Images/Input/Tiff/Calliphora_gray_lzw_predictor.tiff

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:3f24fd8f36a4847fcb84a317de4fd2eacd5eb0c58ef4436d33919f0a6658d0d9 oid sha256:649f0b8ad50a9465fdb447c411e33f20a8b367600e7c3af83c8f686f3ab3e6dc
size 698309 size 47143

4
tests/Images/Input/Tiff/Calliphora_grayscale_uncompressed.tiff

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:0283f2be39a151ca3ed19be97ebe4a6b17978ed251dd4d0d568895865fec24c7 oid sha256:5925388b374b75161ef49273e8c85c4f99713e5e3be380ea13a03895f47809ba
size 964588 size 60001

4
tests/Images/Input/Tiff/Calliphora_huffman_rle.tiff

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:1a4f687de9925863b1c9f32f53b6c05fb121f9d7b02ff5869113c4745433f10d oid sha256:f27e758bb72d5e03fdcf0b1c58c417e4a7928cbdf8d432dc5b9a7d8d7ee4d06b
size 124644 size 5668

4
tests/Images/Input/Tiff/Calliphora_palette_uncompressed.tiff

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:b70500348b1af7828c15e7782eaca105ff749136d7c45eb4cab8c5cd5269c3f6 oid sha256:29d4b30265158a7cc651d75130843a7f5a7ebf8b2f0f4bb0cf86c82cbec7f6ec
size 966134 size 61549

4
tests/Images/Input/Tiff/Calliphora_rgb_deflate_predictor.tiff

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:da6e6a35a0bb0f5f2d49e3c5f0eb2deb7118718dd08844f66a6cb72f48b5c489 oid sha256:392e1269220e7e3feb9e2b256e82cce6a2394a5cabef042fdb10def6b24ff165
size 1476294 size 111819

4
tests/Images/Input/Tiff/Calliphora_rgb_jpeg.tiff

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:ba79ffac35e16208406e073492d770d3a77e51a47112aa02ab8fd98b5a8487b2 oid sha256:4baf0f4c462e5bef71ab36f505dfff87a31bd1d25deabccd822a359c1075e08e
size 198564 size 65748

3
tests/Images/Input/Tiff/Calliphora_rgb_lzw.tif

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:53006876fcdc655a794462de57eb6b56f4d0cdd3cb8b752c63328db0eb4aa3c1
size 725085

3
tests/Images/Input/Tiff/Calliphora_rgb_lzw.tiff

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d83d8a81ebb7337f00b319a8c37cfdef07423d6a61006411130e386238dd00dd
size 121907

4
tests/Images/Input/Tiff/Calliphora_rgb_lzw_predictor.tiff

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:ecb529e5e3e0eca6f5e407b034fa8ba67bb4b9068af9e9b30425b08d30a249c0 oid sha256:993207c34358165af5fac0d0b955b56cd79e9707c1c46344863e01cbc9c7707d
size 1756355 size 126695

4
tests/Images/Input/Tiff/Calliphora_rgb_packbits.tiff

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:59dbb48f10c40cbbd4f5617a9f57536790ce0b9a4cc241dc8d6257095598cb76 oid sha256:81e7456578510c85e5bebe8bc7c5796da6e2cd61f5bbe0a1f6bb46b8aee3d695
size 2891292 size 179949

4
tests/Images/Input/Tiff/Calliphora_rgb_uncompressed.tiff

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:acb46c990af78fcb0e63849f0f26acffe26833d5cfd2fc77a728baf92166eea3 oid sha256:bb25349a7f803aeafc47d8a05deca1a8afdc4bdc5a53e2916f68d5c3e7d8cad3
size 2893218 size 179207

Loading…
Cancel
Save