diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /image/test/reftest/bmp/bmpsuite/g | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'image/test/reftest/bmp/bmpsuite/g')
42 files changed, 129 insertions, 0 deletions
diff --git a/image/test/reftest/bmp/bmpsuite/g/pal1.bmp b/image/test/reftest/bmp/bmpsuite/g/pal1.bmp Binary files differnew file mode 100644 index 0000000000..4776f82778 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal1.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal1.png b/image/test/reftest/bmp/bmpsuite/g/pal1.png Binary files differnew file mode 100644 index 0000000000..89a433ed76 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal1.png diff --git a/image/test/reftest/bmp/bmpsuite/g/pal1bg.bmp b/image/test/reftest/bmp/bmpsuite/g/pal1bg.bmp Binary files differnew file mode 100644 index 0000000000..466d0ba727 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal1bg.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal1bg.png b/image/test/reftest/bmp/bmpsuite/g/pal1bg.png Binary files differnew file mode 100644 index 0000000000..20c4bb838f --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal1bg.png diff --git a/image/test/reftest/bmp/bmpsuite/g/pal1wb.bmp b/image/test/reftest/bmp/bmpsuite/g/pal1wb.bmp Binary files differnew file mode 100644 index 0000000000..56cb93203e --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal1wb.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal4.bmp b/image/test/reftest/bmp/bmpsuite/g/pal4.bmp Binary files differnew file mode 100644 index 0000000000..7fd36303ca --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal4.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal4.png b/image/test/reftest/bmp/bmpsuite/g/pal4.png Binary files differnew file mode 100644 index 0000000000..188bb0499e --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal4.png diff --git a/image/test/reftest/bmp/bmpsuite/g/pal4gs.bmp b/image/test/reftest/bmp/bmpsuite/g/pal4gs.bmp Binary files differnew file mode 100644 index 0000000000..813268ca77 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal4gs.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal4gs.png b/image/test/reftest/bmp/bmpsuite/g/pal4gs.png Binary files differnew file mode 100644 index 0000000000..3a9fc855e4 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal4gs.png diff --git a/image/test/reftest/bmp/bmpsuite/g/pal4rle.bmp b/image/test/reftest/bmp/bmpsuite/g/pal4rle.bmp Binary files differnew file mode 100644 index 0000000000..a5672aebd6 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal4rle.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8-0.bmp b/image/test/reftest/bmp/bmpsuite/g/pal8-0.bmp Binary files differnew file mode 100644 index 0000000000..ab8815a360 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8-0.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8.bmp b/image/test/reftest/bmp/bmpsuite/g/pal8.bmp Binary files differnew file mode 100644 index 0000000000..96b2f86680 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8.png b/image/test/reftest/bmp/bmpsuite/g/pal8.png Binary files differnew file mode 100644 index 0000000000..2bfd3e650f --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8.png diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8gs.bmp b/image/test/reftest/bmp/bmpsuite/g/pal8gs.bmp Binary files differnew file mode 100644 index 0000000000..66a0d70dc3 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8gs.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8gs.png b/image/test/reftest/bmp/bmpsuite/g/pal8gs.png Binary files differnew file mode 100644 index 0000000000..b33b38e1d3 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8gs.png diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8nonsquare-e.png b/image/test/reftest/bmp/bmpsuite/g/pal8nonsquare-e.png Binary files differnew file mode 100644 index 0000000000..646665f2d0 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8nonsquare-e.png diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8nonsquare.bmp b/image/test/reftest/bmp/bmpsuite/g/pal8nonsquare.bmp Binary files differnew file mode 100644 index 0000000000..0aa8de04cb --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8nonsquare.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8nonsquare.png b/image/test/reftest/bmp/bmpsuite/g/pal8nonsquare.png Binary files differnew file mode 100644 index 0000000000..9648cb6825 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8nonsquare.png diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8os2.bmp b/image/test/reftest/bmp/bmpsuite/g/pal8os2.bmp Binary files differnew file mode 100644 index 0000000000..14901b3882 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8os2.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8rle.bmp b/image/test/reftest/bmp/bmpsuite/g/pal8rle.bmp Binary files differnew file mode 100644 index 0000000000..d43101490f --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8rle.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8topdown.bmp b/image/test/reftest/bmp/bmpsuite/g/pal8topdown.bmp Binary files differnew file mode 100644 index 0000000000..4b2f8e019f --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8topdown.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8v4.bmp b/image/test/reftest/bmp/bmpsuite/g/pal8v4.bmp Binary files differnew file mode 100644 index 0000000000..34ebb8030c --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8v4.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8v5.bmp b/image/test/reftest/bmp/bmpsuite/g/pal8v5.bmp Binary files differnew file mode 100644 index 0000000000..c54647a31a --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8v5.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8w124.bmp b/image/test/reftest/bmp/bmpsuite/g/pal8w124.bmp Binary files differnew file mode 100644 index 0000000000..b7cc2d8bf7 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8w124.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8w124.png b/image/test/reftest/bmp/bmpsuite/g/pal8w124.png Binary files differnew file mode 100644 index 0000000000..f80236df60 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8w124.png diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8w125.bmp b/image/test/reftest/bmp/bmpsuite/g/pal8w125.bmp Binary files differnew file mode 100644 index 0000000000..06efed7443 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8w125.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8w125.png b/image/test/reftest/bmp/bmpsuite/g/pal8w125.png Binary files differnew file mode 100644 index 0000000000..2a45116b91 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8w125.png diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8w126.bmp b/image/test/reftest/bmp/bmpsuite/g/pal8w126.bmp Binary files differnew file mode 100644 index 0000000000..112aa9fe67 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8w126.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/pal8w126.png b/image/test/reftest/bmp/bmpsuite/g/pal8w126.png Binary files differnew file mode 100644 index 0000000000..a41eab93d0 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/pal8w126.png diff --git a/image/test/reftest/bmp/bmpsuite/g/reftest.list b/image/test/reftest/bmp/bmpsuite/g/reftest.list new file mode 100644 index 0000000000..d14c5aa42e --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/reftest.list @@ -0,0 +1,129 @@ +# bmpsuite "good" tests + +# See ../README.mozilla for details. + +# BMP: bihsize=40, 127 x 64, bpp=1, compression=0, colors=2 +# "1 bit/pixel paletted image, in which black is the first color in the +# palette." +fuzzy(0-1,0-926) == pal1.bmp pal1.png + +# BMP: bihsize=40, 127 x 64, bpp=1, compression=0, colors=2 +# "1 bit/pixel paletted image, in which white is the first color in the +# palette." +fuzzy(0-1,0-926) == pal1wb.bmp pal1.png + +# BMP: bihsize=40, 127 x 64, bpp=1, compression=0, colors=2 +# "1 bit/pixel paletted image, with colors other than black and white." +== pal1bg.bmp pal1bg.png + +# BMP: bihsize=40, 127 x 64, bpp=4, compression=0, colors=12 +# "Paletted image with 12 palette colors, and 4 bits/pixel." +== pal4.bmp pal4.png + +# BMP: bihsize=40, 127 x 64, bpp=4, compression=0, colors=12 +# "Paletted image with 12 grayscale palette colors, and 4 bits/pixel." +== pal4gs.bmp pal4gs.png + +# BMP: bihsize=40, 127 x 64, bpp=4, compression=2, colors=12 +# "4-bit image that uses RLE compression." +== pal4rle.bmp pal4.png + +# BMP: bihsize=40, 127 x 64, bpp=8, compression=0, colors=252 +# "Our standard paletted image, with 252 palette colors, and 8 bits/pixel." +fuzzy(0-1,0-996) == pal8.bmp pal8.png + +# BMP: bihsize=40, 127 x 64, bpp=8, compression=0, colors=0 +# "Every field that can be set to 0 is set to 0: pixels/meter=0; colors used=0 +# (meaning the default 256); size-of-image=0." +fuzzy(0-1,0-996) == pal8-0.bmp pal8.png + +# BMP: bihsize=40, 127 x 64, bpp=8, compression=0, colors=252 +# "An 8-bit image with a palette of 252 grayscale colors." +== pal8gs.bmp pal8gs.png + +# BMP: bihsize=40, 127 x 64, bpp=8, compression=1, colors=252 +# "8-bit image that uses RLE compression." +fuzzy(0-1,0-996) == pal8rle.bmp pal8.png + +# BMP: bihsize=40, 126 x 63, bpp=8, compression=0, colors=252 +# BMP: bihsize=40, 125 x 62, bpp=8, compression=0, colors=252 +# BMP: bihsize=40, 124 x 61, bpp=8, compression=0, colors=252 +# "Images with different widths and heights. In BMP format, rows are padded to +# a multiple of four bytes, so we test all four possibilities." +fuzzy(0-1,0-889) == pal8w126.bmp pal8w126.png +fuzzy(0-1,0-974) == pal8w125.bmp pal8w125.png +fuzzy(0-1,0-870) == pal8w124.bmp pal8w124.png + +# BMP: bihsize=40, 127 x -64, bpp=8, compression=0, colors=252 +# "BMP images are normally stored from the bottom up, but there is a way to +# store them from the top down." +fuzzy(0-1,0-996) == pal8topdown.bmp pal8.png + +# BMP: bihsize=40, 127 x 32, bpp=8, compression=0, colors=252 +# "An image with non-square pixels: the X pixels/meter is twice the Y +# pixels/meter. Image editors can be expected to leave the image 'squashed'; +# image viewers should consider stretching it to its correct proportions." +# [We leave it squashed, as does Chromium.] +fuzzy(0-1,0-1462) == pal8nonsquare.bmp pal8nonsquare-e.png + +# BMP: bihsize=12, 127 x 64, bpp=8, compression=0, colors=0 +# "An OS/2-style bitmap." +fuzzy(0-1,0-996) == pal8os2.bmp pal8.png + +# BMP: bihsize=108, 127 x 64, bpp=8, compression=0, colors=252 +# "A v4 bitmap. I’m not sure that the gamma and chromaticity values in this +# file are sensible, because I can’t find any detailed documentation of them." +# [We seem to handle the profile wrong in QCMS. See bug 1619332.] +fuzzy-if((/^Windows\x20NT\x2010\.0/.test(http.oscpu)&&/^aarch64-msvc/.test(xulRuntime.XPCOMABI)),1-4,899-6376) fuzzy-if(!(/^Windows\x20NT\x2010\.0/.test(http.oscpu)&&/^aarch64-msvc/.test(xulRuntime.XPCOMABI)),3-3,6376-6376) fuzzy-if(appleSilicon,4-4,6376-6376) == pal8v4.bmp pal8.png #bug 1619847 + +# BMP: bihsize=124, 127 x 64, bpp=8, compression=0, colors=252 +# "A v5 bitmap. Version 5 has additional colorspace options over v4, so it is +# easier to create, and ought to be more portable." +fuzzy(0-1,0-996) == pal8v5.bmp pal8.png + +# BMP: bihsize=40, 127 x 64, bpp=16, compression=0, colors=0 +# "A 16-bit image with the default color format: 5 bits each for red, green, and +# blue, and 1 unused bit. The whitest colors should (I assume) be displayed as +# pure white: (255,255,255), not (248,248,248)." +fuzzy(0-1,0-1296) == rgb16.bmp rgb16.png + +# BMP: bihsize=40, 127 x 64, bpp=16, compression=3, colors=0 +# "Same format as rgb16.bmp, but with a BITFIELDS segment." +fuzzy(0-1,0-1296) == rgb16bfdef.bmp rgb16.png + +# BMP: bihsize=40, 127 x 64, bpp=16, compression=3, colors=0 +# "A 16-bit image with a BITFIELDS segment indicating 5 red, 6 green, and 5 blue +# bits. This is a standard 16-bit format, even supported by old versions of +# Windows that don’t support any other non-default 16-bit formats. The whitest +# colors should be displayed as pure white: (255,255,255), not (248,252,248)." +fuzzy(0-1,0-1296) == rgb16.bmp rgb16.png + +# BMP: bihsize=40, 127 x 64, bpp=16, compression=3, colors=256 +# "A 16-bit image with both a BITFIELDS segment and a palette." +fuzzy(0-1,0-1516) == rgb16.bmp rgb16.png + +# BMP: bihsize=40, 127 x 64, bpp=24, compression=0, colors=0 +# "A perfectly ordinary 24-bit (truecolor) image." +== rgb24.bmp rgb24.png + +# BMP: bihsize=40, 127 x 64, bpp=24, compression=0, colors=256 +# "A 24-bit image, with a palette containing 256 colors. There is little if any +# reason for a truecolor image to contain a palette, but it is legal." +== rgb24pal.bmp rgb24.png + +# BMP: bihsize=40, 127 x 64, bpp=32, compression=0, colors=0 +# "A 32-bit image using the default color format for 32-bit images (no +# BITFIELDS segment). There are 8 bits per color channel, and 8 unused bits. +# The unused bits are set to 0." +== rgb32.bmp rgb24.png + +# BMP: bihsize=40, 127 x 64, bpp=32, compression=3, colors=0 +# "Same format as rgb32.bmp, but with a BITFIELDS segment." +== rgb32bfdef.bmp rgb24.png + +# BMP: bihsize=40, 127 x 64, bpp=32, compression=3, colors=0 +# "A 32-bit image with a BITFIELDS segment. As usual, there are 8 bits per color +# channel, and 8 unused bits. But the color channels are in an unusual order, +# so the viewer must read the BITFIELDS, and not just guess." +== rgb32bf.bmp rgb24.png + diff --git a/image/test/reftest/bmp/bmpsuite/g/rgb16-565.bmp b/image/test/reftest/bmp/bmpsuite/g/rgb16-565.bmp Binary files differnew file mode 100644 index 0000000000..c03a27975a --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/rgb16-565.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/rgb16-565.png b/image/test/reftest/bmp/bmpsuite/g/rgb16-565.png Binary files differnew file mode 100644 index 0000000000..04a3121d24 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/rgb16-565.png diff --git a/image/test/reftest/bmp/bmpsuite/g/rgb16-565pal.bmp b/image/test/reftest/bmp/bmpsuite/g/rgb16-565pal.bmp Binary files differnew file mode 100644 index 0000000000..e7632e344b --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/rgb16-565pal.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/rgb16.bmp b/image/test/reftest/bmp/bmpsuite/g/rgb16.bmp Binary files differnew file mode 100644 index 0000000000..6bfe47af4f --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/rgb16.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/rgb16.png b/image/test/reftest/bmp/bmpsuite/g/rgb16.png Binary files differnew file mode 100644 index 0000000000..d9545840ab --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/rgb16.png diff --git a/image/test/reftest/bmp/bmpsuite/g/rgb16bfdef.bmp b/image/test/reftest/bmp/bmpsuite/g/rgb16bfdef.bmp Binary files differnew file mode 100644 index 0000000000..30fe8bb8d6 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/rgb16bfdef.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/rgb24.bmp b/image/test/reftest/bmp/bmpsuite/g/rgb24.bmp Binary files differnew file mode 100644 index 0000000000..40f8bb094b --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/rgb24.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/rgb24.png b/image/test/reftest/bmp/bmpsuite/g/rgb24.png Binary files differnew file mode 100644 index 0000000000..86a9c945b0 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/rgb24.png diff --git a/image/test/reftest/bmp/bmpsuite/g/rgb24pal.bmp b/image/test/reftest/bmp/bmpsuite/g/rgb24pal.bmp Binary files differnew file mode 100644 index 0000000000..102e971dd3 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/rgb24pal.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/rgb32.bmp b/image/test/reftest/bmp/bmpsuite/g/rgb32.bmp Binary files differnew file mode 100644 index 0000000000..5d57eaaea8 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/rgb32.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/rgb32bf.bmp b/image/test/reftest/bmp/bmpsuite/g/rgb32bf.bmp Binary files differnew file mode 100644 index 0000000000..20fa9a1326 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/rgb32bf.bmp diff --git a/image/test/reftest/bmp/bmpsuite/g/rgb32bfdef.bmp b/image/test/reftest/bmp/bmpsuite/g/rgb32bfdef.bmp Binary files differnew file mode 100644 index 0000000000..d7e64e5a41 --- /dev/null +++ b/image/test/reftest/bmp/bmpsuite/g/rgb32bfdef.bmp |