reftest.list (5521B)
1 # bmpsuite "good" tests 2 3 # See ../README.mozilla for details. 4 5 # BMP: bihsize=40, 127 x 64, bpp=1, compression=0, colors=2 6 # "1 bit/pixel paletted image, in which black is the first color in the 7 # palette." 8 fuzzy(0-1,0-926) == pal1.bmp pal1.png 9 10 # BMP: bihsize=40, 127 x 64, bpp=1, compression=0, colors=2 11 # "1 bit/pixel paletted image, in which white is the first color in the 12 # palette." 13 fuzzy(0-1,0-926) == pal1wb.bmp pal1.png 14 15 # BMP: bihsize=40, 127 x 64, bpp=1, compression=0, colors=2 16 # "1 bit/pixel paletted image, with colors other than black and white." 17 == pal1bg.bmp pal1bg.png 18 19 # BMP: bihsize=40, 127 x 64, bpp=4, compression=0, colors=12 20 # "Paletted image with 12 palette colors, and 4 bits/pixel." 21 == pal4.bmp pal4.png 22 23 # BMP: bihsize=40, 127 x 64, bpp=4, compression=0, colors=12 24 # "Paletted image with 12 grayscale palette colors, and 4 bits/pixel." 25 == pal4gs.bmp pal4gs.png 26 27 # BMP: bihsize=40, 127 x 64, bpp=4, compression=2, colors=12 28 # "4-bit image that uses RLE compression." 29 == pal4rle.bmp pal4.png 30 31 # BMP: bihsize=40, 127 x 64, bpp=8, compression=0, colors=252 32 # "Our standard paletted image, with 252 palette colors, and 8 bits/pixel." 33 == pal8.bmp pal8.png 34 35 # BMP: bihsize=40, 127 x 64, bpp=8, compression=0, colors=0 36 # "Every field that can be set to 0 is set to 0: pixels/meter=0; colors used=0 37 # (meaning the default 256); size-of-image=0." 38 == pal8-0.bmp pal8.png 39 40 # BMP: bihsize=40, 127 x 64, bpp=8, compression=0, colors=252 41 # "An 8-bit image with a palette of 252 grayscale colors." 42 == pal8gs.bmp pal8gs.png 43 44 # BMP: bihsize=40, 127 x 64, bpp=8, compression=1, colors=252 45 # "8-bit image that uses RLE compression." 46 == pal8rle.bmp pal8.png 47 48 # BMP: bihsize=40, 126 x 63, bpp=8, compression=0, colors=252 49 # BMP: bihsize=40, 125 x 62, bpp=8, compression=0, colors=252 50 # BMP: bihsize=40, 124 x 61, bpp=8, compression=0, colors=252 51 # "Images with different widths and heights. In BMP format, rows are padded to 52 # a multiple of four bytes, so we test all four possibilities." 53 == pal8w126.bmp pal8w126.png 54 == pal8w125.bmp pal8w125.png 55 == pal8w124.bmp pal8w124.png 56 57 # BMP: bihsize=40, 127 x -64, bpp=8, compression=0, colors=252 58 # "BMP images are normally stored from the bottom up, but there is a way to 59 # store them from the top down." 60 == pal8topdown.bmp pal8.png 61 62 # BMP: bihsize=40, 127 x 32, bpp=8, compression=0, colors=252 63 # "An image with non-square pixels: the X pixels/meter is twice the Y 64 # pixels/meter. Image editors can be expected to leave the image 'squashed'; 65 # image viewers should consider stretching it to its correct proportions." 66 # [We leave it squashed, as does Chromium.] 67 == pal8nonsquare.bmp pal8nonsquare-e.png 68 69 # BMP: bihsize=12, 127 x 64, bpp=8, compression=0, colors=0 70 # "An OS/2-style bitmap." 71 == pal8os2.bmp pal8.png 72 73 # BMP: bihsize=108, 127 x 64, bpp=8, compression=0, colors=252 74 # "A v4 bitmap. I’m not sure that the gamma and chromaticity values in this 75 # file are sensible, because I can’t find any detailed documentation of them." 76 # [We seem to handle the profile wrong in QCMS. See bug 1619332.] 77 fuzzy(0-4,0-6376) == pal8v4.bmp pal8.png #bug 1619847 78 79 # BMP: bihsize=124, 127 x 64, bpp=8, compression=0, colors=252 80 # "A v5 bitmap. Version 5 has additional colorspace options over v4, so it is 81 # easier to create, and ought to be more portable." 82 == pal8v5.bmp pal8.png 83 84 # BMP: bihsize=40, 127 x 64, bpp=16, compression=0, colors=0 85 # "A 16-bit image with the default color format: 5 bits each for red, green, and 86 # blue, and 1 unused bit. The whitest colors should (I assume) be displayed as 87 # pure white: (255,255,255), not (248,248,248)." 88 fuzzy(0-1,0-1296) == rgb16.bmp rgb16.png 89 90 # BMP: bihsize=40, 127 x 64, bpp=16, compression=3, colors=0 91 # "Same format as rgb16.bmp, but with a BITFIELDS segment." 92 fuzzy(0-1,0-1296) == rgb16bfdef.bmp rgb16.png 93 94 # BMP: bihsize=40, 127 x 64, bpp=16, compression=3, colors=0 95 # "A 16-bit image with a BITFIELDS segment indicating 5 red, 6 green, and 5 blue 96 # bits. This is a standard 16-bit format, even supported by old versions of 97 # Windows that don’t support any other non-default 16-bit formats. The whitest 98 # colors should be displayed as pure white: (255,255,255), not (248,252,248)." 99 fuzzy(1-1,1516-1516) == rgb16-565.bmp rgb16-565.png 100 101 # BMP: bihsize=40, 127 x 64, bpp=16, compression=3, colors=256 102 # "A 16-bit image with both a BITFIELDS segment and a palette." 103 fuzzy(1-1,1516-1516) == rgb16-565pal.bmp rgb16-565.png 104 105 # BMP: bihsize=40, 127 x 64, bpp=24, compression=0, colors=0 106 # "A perfectly ordinary 24-bit (truecolor) image." 107 == rgb24.bmp rgb24.png 108 109 # BMP: bihsize=40, 127 x 64, bpp=24, compression=0, colors=256 110 # "A 24-bit image, with a palette containing 256 colors. There is little if any 111 # reason for a truecolor image to contain a palette, but it is legal." 112 == rgb24pal.bmp rgb24.png 113 114 # BMP: bihsize=40, 127 x 64, bpp=32, compression=0, colors=0 115 # "A 32-bit image using the default color format for 32-bit images (no 116 # BITFIELDS segment). There are 8 bits per color channel, and 8 unused bits. 117 # The unused bits are set to 0." 118 == rgb32.bmp rgb24.png 119 120 # BMP: bihsize=40, 127 x 64, bpp=32, compression=3, colors=0 121 # "Same format as rgb32.bmp, but with a BITFIELDS segment." 122 == rgb32bfdef.bmp rgb24.png 123 124 # BMP: bihsize=40, 127 x 64, bpp=32, compression=3, colors=0 125 # "A 32-bit image with a BITFIELDS segment. As usual, there are 8 bits per color 126 # channel, and 8 unused bits. But the color channels are in an unusual order, 127 # so the viewer must read the BITFIELDS, and not just guess." 128 == rgb32bf.bmp rgb24.png 129