| Home | Libraries | People | FAQ | More

## Running gil::io tests

gil::io comes with a large suite of test cases which reads and writes various file formats. It uses some test image suites which can be found online or which can be demanded from me by sending me an email.

There are some test images created by me in the test folder. To enable unit tests which make use of them set the following compiler options BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES and BOOST_GIL_IO_TEST_ALLOW_WRITING_IMAGES.

The following list provides all links to the image suites the compiler symbol to enable the tests:

- BMP: http://entropymine.com/jason/bmpsuite/ -- BOOST_GIL_IO_USE_BMP_TEST_SUITE_IMAGES
- PNG: http://www.schaik.com/pngsuite/pngsuite.html -- BOOST_GIL_IO_USE_PNG_TEST_SUITE_IMAGES
- PNM: request files from me -- BOOST_GIL_IO_USE_PNM_TEST_SUITE_IMAGES
- TARGA: http://www.fileformat.info/format/tga/sample/index.htm -- BOOST_GIL_IO_USE_TARGA_FILEFORMAT_TEST_SUITE_IMAGES
- TIFF: http://www.remotesensing.org/libtiff/images.html -- BOOST_GIL_IO_USE_TIFF_LIBTIFF_TEST_SUITE_IMAGES
- TIFF ftp://ftp.graphicsmagick.org/pub/tiff-samples/tiff-sample-images-be.tar.gz -- BOOST_GIL_IO_USE_TIFF_GRAPHICSMAGICK_TEST_SUITE_IMAGES