• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 2013 Christian Henning
3 //
4 // Distributed under the Boost Software License, Version 1.0
5 // See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt
7 //
8 #define BOOST_GIL_IO_ADD_FS_PATH_SUPPORT
9 #define BOOST_GIL_IO_ENABLE_GRAY_ALPHA
10 #define BOOST_FILESYSTEM_VERSION 3
11 #include <boost/gil.hpp>
12 #include <boost/gil/extension/io/png.hpp>
13 
14 #include <boost/core/lightweight_test.hpp>
15 
16 #include "color_space_write_test.hpp"
17 #include "paths.hpp"
18 #include "scanline_read_test.hpp"
19 
20 namespace gil = boost::gil;
21 
test_rgb_color_space_write()22 void test_rgb_color_space_write()
23 {
24     color_space_write_test<gil::png_tag>(
25         png_out + "rgb_color_space_test.png", png_out + "bgr_color_space_test.png");
26 }
27 
main()28 int main()
29 {
30     test_rgb_color_space_write();
31 
32     return boost::report_errors();
33 }
34