Use official colospace HSL/HSV converters from boost source tree (BOOST_VERSION > 1_69)

This commit is contained in:
Artem Pavlenko 2019-12-13 17:02:31 +00:00
parent 44198d1ac2
commit 7f2c8b756a

View file

@ -5,11 +5,14 @@
#include <boost/version.hpp>
#if BOOST_VERSION >= 106900
#include <boost/gil.hpp>
#include <boost/gil/extension/toolbox/color_spaces/hsv.hpp>
#include <boost/gil/extension/toolbox/color_spaces/hsl.hpp>
#else
#include <boost/gil/gil_all.hpp>
#endif
#include <boost/gil/extension/toolbox/hsv.hpp>
#include <boost/gil/extension/toolbox/hsl.hpp>
#endif
#pragma GCC diagnostic pop
namespace agg