2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-20 02:42:11 +00:00
Files
gil/io/test/paths.hpp
Mateusz Łoskot 32fec9f05b Refactor library includes to #include <boost/gil/...>
Group include directives, sort within group:
* In headers of GIL core and extensions:
  1. boost/gil/extension/*
  2. boost/gil/*
  3. boost/*
  4. C++ standard library headers
* In programs:
  1. boost/gil/*
  2. boost/*
  3. C++ standard library headers
  4. "xxx.hpp" for local headers
Add basic guidelines to CONTRIBUTING.md.
Add/Remove #include <boost/config.hpp> or std headers un/necessary.
Rename gil_concept.hpp to concepts.hpp.
Remove gil_all.hpp - we already have all-in-one boost/gil.hpp.
Tidy up and unify copyright and license header.
Tidy up formatting and excessive whitespaces in some comments.
Remove Doxygen block with file description, author, date, etc.
Remove dead or commented pragmas and directives.
Trim trailing whitespaces.
2018-09-28 16:26:34 +02:00

50 lines
2.0 KiB
C++

//
// Copyright 2013 Christian Henning
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
#ifndef BOOST_GIL_IO_TEST_PATHS_HPP
#define BOOST_GIL_IO_TEST_PATHS_HPP
#include <boost/filesystem.hpp>
namespace fs = boost::filesystem;
// `base` holds the path to ../.., i.e. the directory containing `test_images`
static const std::string base =
(fs::absolute(fs::path(__FILE__)).parent_path().parent_path().string()) + "/";
static const std::string bmp_in = base + "test_images/bmp/";
static const std::string bmp_out = base + "output/bmp/";
static const std::string jpeg_in = base + "test_images/jpg/";
static const std::string jpeg_out = base + "output/jpeg/";
static const std::string png_base_in = base + "test_images/png/";
static const std::string png_in = png_base_in + "PngSuite/";
static const std::string png_out = base + "output/png/";
static const std::string pnm_in = base + "test_images/pnm/";
static const std::string pnm_out = base + "output/pnm/";
static const std::string raw_in = base + "test_images/raw/";
static const std::string targa_in = base + "test_images/targa/";
static const std::string targa_out = base + "output/targa/";
static const std::string tiff_in = base + "test_images/tiff/";
static const std::string tiff_out = base + "output/tiff/";
static const std::string tiff_in_GM = tiff_in + "graphicmagick/";
static const std::string bmp_filename ( bmp_in + "test.bmp" );
static const std::string jpeg_filename ( jpeg_in + "test.jpg" );
static const std::string png_filename ( png_base_in + "test.png" );
static const std::string pnm_filename ( pnm_in + "rgb.pnm" );
static const std::string raw_filename ( raw_in + "RAW_CANON_D30_SRGB.CRW" );
static const std::string targa_filename( targa_in + "24BPP_compressed.tga" );
static const std::string tiff_filename ( tiff_in + "test.tif" );
#endif // BOOST_GIL_IO_TEST_PATHS_HPP