tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

README.mozilla (1702B)


      1 bmpsuite, by Jason Summers, is an excellent BMP test suite that covers many
      2 obscure corners of the BMP format. All the test images can be seen here:
      3 
      4   http://entropymine.com/jason/bmpsuite/bmpsuite/html/bmpsuite.html
      5 
      6 The code used to generate the test images is available here:
      7 
      8   https://github.com/jsummers/bmpsuite/
      9 
     10 The readme.txt file states that the code is GPLv3 and the generated image files
     11 are in the public domain. We have not included the code, but we have included:
     12 (a) some quotes from the documentation and (b) some of the reference PNG
     13 images. However, (a) and (b) are for testing purposes only and are not included
     14 in Firefox releases.
     15 
     16 The BMP files within this directory were generated with bmpsuite v2.3 (git
     17 revision 3adcc9e20c0b6d2d665966b7e047b6f9474cef12). (Since then updated to v2.8
     18 git revision 555e43af40c330249234279b6d2bc6162370a2f0.)
     19 
     20 There are three sub-directories.
     21 - g/: for "good" images.
     22 - q/: for "questionable" images.
     23 - b/: for "bad" images.
     24 - x/: for images that arguably may not truly be in "BMP format".
     25 
     26 Each file listed in a reftest.list file is annotated with the following lines.
     27 
     28 - The first line starts with "BMP:" and is the output of the MOZ_LOG call in
     29   nsBMPDecoder.cpp. It has basic image info.
     30 
     31 - Next is a quote from the bmpsuite docs, which describes the particulars of
     32   the file.
     33 
     34 - Some files also have additional notes in square brackets. These explain
     35   anything non-obvious about the file, such as how we handle things that are
     36   ambiguous, any shortcomings in our decoding, and how Chromium handles the
     37   image.
     38 
     39 Some of the reference PNGs need a small amount of fuzziness to match the BMPs.
     40 This might be due to PNG color correction.
     41