3fa81b
From 97942616fc20c9f13d57a84b728b77f549c945a9 Mon Sep 17 00:00:00 2001
3fa81b
From: Bart Janssens <bart@bartjanssens.org>
3fa81b
Date: Mon, 14 Jan 2019 00:01:02 +0100
7ad9a1
Subject: [PATCH 12/15] FIX: Update to Boost 1.68
3fa81b
3fa81b
---
3fa81b
 k3dsdk/bitmap.h                                  |  3 +++
3fa81b
 .../gil/boost/gil/extension/numeric/affine.hpp   |  6 +++---
3fa81b
 .../boost/gil/extension/numeric/algorithm.hpp    |  2 +-
3fa81b
 .../gil/boost/gil/extension/numeric/convolve.hpp | 16 ++++++++--------
3fa81b
 .../gil/boost/gil/extension/numeric/resample.hpp |  2 +-
3fa81b
 k3dsdk/istreaming_bitmap_source.h                |  1 +
3fa81b
 modules/jpeg_io/bitmap_importer.cpp              |  4 ++--
3fa81b
 modules/jpeg_io/bitmap_reader.cpp                |  4 ++--
3fa81b
 modules/jpeg_io/bitmap_writer.cpp                |  4 ++--
3fa81b
 modules/png_io/bitmap_importer.cpp               |  4 ++--
3fa81b
 modules/png_io/bitmap_reader.cpp                 |  4 ++--
3fa81b
 modules/png_io/bitmap_writer.cpp                 |  4 ++--
3fa81b
 modules/tiff_io/bitmap_exporter.cpp              |  4 ++--
3fa81b
 modules/tiff_io/bitmap_importer.cpp              |  4 ++--
3fa81b
 modules/tiff_io/bitmap_reader.cpp                |  4 ++--
3fa81b
 modules/tiff_io/bitmap_writer.cpp                |  4 ++--
3fa81b
 16 files changed, 37 insertions(+), 33 deletions(-)
3fa81b
3fa81b
diff --git a/k3dsdk/bitmap.h b/k3dsdk/bitmap.h
3fa81b
index 4fa6b1fa..b186fd5d 100644
3fa81b
--- a/k3dsdk/bitmap.h
3fa81b
+++ b/k3dsdk/bitmap.h
3fa81b
@@ -41,6 +41,9 @@ namespace boost
3fa81b
 namespace gil
3fa81b
 {
3fa81b
 
3fa81b
+typedef boost::uint8_t  bits8;
3fa81b
+typedef float32_t bits32f;
3fa81b
+
3fa81b
 template<>
3fa81b
 struct channel_traits<half>
3fa81b
 {
3fa81b
diff --git a/k3dsdk/gil/boost/gil/extension/numeric/affine.hpp b/k3dsdk/gil/boost/gil/extension/numeric/affine.hpp
3fa81b
index 55384585..011c5c7a 100755
3fa81b
--- a/k3dsdk/gil/boost/gil/extension/numeric/affine.hpp
3fa81b
+++ b/k3dsdk/gil/boost/gil/extension/numeric/affine.hpp
3fa81b
@@ -47,7 +47,7 @@ public:
3fa81b
     T a,b,c,d,e,f;
3fa81b
 };
3fa81b
 
3fa81b
-template <typename t=""> GIL_FORCEINLINE
3fa81b
+template <typename t=""> BOOST_FORCEINLINE
3fa81b
 matrix3x2<t> operator*(const matrix3x2<t>& m1, const matrix3x2<t>& m2) {
3fa81b
     return matrix3x2<t>(
3fa81b
                 m1.a * m2.a + m1.b * m2.c,
3fa81b
@@ -58,7 +58,7 @@ matrix3x2<t> operator*(const matrix3x2<t>& m1, const matrix3x2<t>& m2) {
3fa81b
                 m1.e * m2.b + m1.f * m2.d + m2.f );
3fa81b
 }
3fa81b
 
3fa81b
-template <typename t,="" typename="" f=""> GIL_FORCEINLINE
3fa81b
+template <typename t,="" typename="" f=""> BOOST_FORCEINLINE
3fa81b
 point2<f> operator*(const point2<t>& p, const matrix3x2<f>& m) {
3fa81b
     return point2<f>(m.a*p.x + m.c*p.y + m.e, m.b*p.x + m.d*p.y + m.f);
3fa81b
 }
3fa81b
@@ -83,7 +83,7 @@ struct mapping_traits<matrix3x2<f> > {
3fa81b
     typedef point2<f> result_type;
3fa81b
 };
3fa81b
 
3fa81b
-template <typename f,="" typename="" f2=""> GIL_FORCEINLINE
3fa81b
+template <typename f,="" typename="" f2=""> BOOST_FORCEINLINE
3fa81b
 point2<f> transform(const matrix3x2<f>& mat, const point2<f2>& src) { return src * mat; }
3fa81b
 
3fa81b
 } }  // namespace boost::gil
3fa81b
diff --git a/k3dsdk/gil/boost/gil/extension/numeric/algorithm.hpp b/k3dsdk/gil/boost/gil/extension/numeric/algorithm.hpp
3fa81b
index 22d4940e..5fc44f61 100755
3fa81b
--- a/k3dsdk/gil/boost/gil/extension/numeric/algorithm.hpp
3fa81b
+++ b/k3dsdk/gil/boost/gil/extension/numeric/algorithm.hpp
3fa81b
@@ -80,7 +80,7 @@ struct inner_product_k_t<0> {
3fa81b
 template 
3fa81b
           class _InputIterator1, class _InputIterator2, class _Tp,
3fa81b
           class _BinaryOperation1, class _BinaryOperation2>
3fa81b
-GIL_FORCEINLINE
3fa81b
+BOOST_FORCEINLINE
3fa81b
 _Tp inner_product_k(_InputIterator1 __first1, 
3fa81b
                     _InputIterator2 __first2,
3fa81b
                     _Tp __init, 
3fa81b
diff --git a/k3dsdk/gil/boost/gil/extension/numeric/convolve.hpp b/k3dsdk/gil/boost/gil/extension/numeric/convolve.hpp
3fa81b
index ef6c7c73..db962099 100755
3fa81b
--- a/k3dsdk/gil/boost/gil/extension/numeric/convolve.hpp
3fa81b
+++ b/k3dsdk/gil/boost/gil/extension/numeric/convolve.hpp
3fa81b
@@ -142,7 +142,7 @@ public:
3fa81b
 /// \ingroup ImageAlgorithms
3fa81b
 ///correlate a 1D variable-size kernel along the rows of an image
3fa81b
 template <typename pixelaccum,typename="" srcview,typename="" kernel,typename="" dstview="">
3fa81b
-GIL_FORCEINLINE
3fa81b
+BOOST_FORCEINLINE
3fa81b
 void correlate_rows(const SrcView& src, const Kernel& ker, const DstView& dst,
3fa81b
                     convolve_boundary_option option=convolve_option_extend_zero) {
3fa81b
     detail::correlate_rows_imp<pixelaccum>(src,ker,dst,option,detail::correlator_n<pixelaccum>(ker.size()));
3fa81b
@@ -151,7 +151,7 @@ void correlate_rows(const SrcView& src, const Kernel& ker, const DstView& dst,
3fa81b
 /// \ingroup ImageAlgorithms
3fa81b
 ///correlate a 1D variable-size kernel along the columns of an image
3fa81b
 template <typename pixelaccum,typename="" srcview,typename="" kernel,typename="" dstview="">
3fa81b
-GIL_FORCEINLINE
3fa81b
+BOOST_FORCEINLINE
3fa81b
 void correlate_cols(const SrcView& src, const Kernel& ker, const DstView& dst,
3fa81b
                     convolve_boundary_option option=convolve_option_extend_zero) {
3fa81b
     correlate_rows<pixelaccum>(transposed_view(src),ker,transposed_view(dst),option);
3fa81b
@@ -160,7 +160,7 @@ void correlate_cols(const SrcView& src, const Kernel& ker, const DstView& dst,
3fa81b
 /// \ingroup ImageAlgorithms
3fa81b
 ///convolve a 1D variable-size kernel along the rows of an image
3fa81b
 template <typename pixelaccum,typename="" srcview,typename="" kernel,typename="" dstview="">
3fa81b
-GIL_FORCEINLINE
3fa81b
+BOOST_FORCEINLINE
3fa81b
 void convolve_rows(const SrcView& src, const Kernel& ker, const DstView& dst,
3fa81b
                    convolve_boundary_option option=convolve_option_extend_zero) {
3fa81b
     correlate_rows<pixelaccum>(src,reverse_kernel(ker),dst,option);
3fa81b
@@ -169,7 +169,7 @@ void convolve_rows(const SrcView& src, const Kernel& ker, const DstView& dst,
3fa81b
 /// \ingroup ImageAlgorithms
3fa81b
 ///convolve a 1D variable-size kernel along the columns of an image
3fa81b
 template <typename pixelaccum,typename="" srcview,typename="" kernel,typename="" dstview="">
3fa81b
-GIL_FORCEINLINE
3fa81b
+BOOST_FORCEINLINE
3fa81b
 void convolve_cols(const SrcView& src, const Kernel& ker, const DstView& dst,
3fa81b
                    convolve_boundary_option option=convolve_option_extend_zero) {
3fa81b
     convolve_rows<pixelaccum>(transposed_view(src),ker,transposed_view(dst),option);
3fa81b
@@ -178,7 +178,7 @@ void convolve_cols(const SrcView& src, const Kernel& ker, const DstView& dst,
3fa81b
 /// \ingroup ImageAlgorithms
3fa81b
 ///correlate a 1D fixed-size kernel along the rows of an image
3fa81b
 template <typename pixelaccum,typename="" srcview,typename="" kernel,typename="" dstview="">
3fa81b
-GIL_FORCEINLINE
3fa81b
+BOOST_FORCEINLINE
3fa81b
 void correlate_rows_fixed(const SrcView& src, const Kernel& ker, const DstView& dst,
3fa81b
                           convolve_boundary_option option=convolve_option_extend_zero) {
3fa81b
     detail::correlate_rows_imp<pixelaccum>(src,ker,dst,option,detail::correlator_k<kernel::static_size,pixelaccum>());
3fa81b
@@ -187,7 +187,7 @@ void correlate_rows_fixed(const SrcView& src, const Kernel& ker, const DstView&
3fa81b
 /// \ingroup ImageAlgorithms
3fa81b
 ///correlate a 1D fixed-size kernel along the columns of an image
3fa81b
 template <typename pixelaccum,typename="" srcview,typename="" kernel,typename="" dstview="">
3fa81b
-GIL_FORCEINLINE
3fa81b
+BOOST_FORCEINLINE
3fa81b
 void correlate_cols_fixed(const SrcView& src, const Kernel& ker, const DstView& dst,
3fa81b
                           convolve_boundary_option option=convolve_option_extend_zero) {
3fa81b
     correlate_rows_fixed<pixelaccum>(transposed_view(src),ker,transposed_view(dst),option);
3fa81b
@@ -196,7 +196,7 @@ void correlate_cols_fixed(const SrcView& src, const Kernel& ker, const DstView&
3fa81b
 /// \ingroup ImageAlgorithms
3fa81b
 ///convolve a 1D fixed-size kernel along the rows of an image
3fa81b
 template <typename pixelaccum,typename="" srcview,typename="" kernel,typename="" dstview="">
3fa81b
-GIL_FORCEINLINE
3fa81b
+BOOST_FORCEINLINE
3fa81b
 void convolve_rows_fixed(const SrcView& src, const Kernel& ker, const DstView& dst,
3fa81b
                          convolve_boundary_option option=convolve_option_extend_zero) {
3fa81b
     correlate_rows_fixed<pixelaccum>(src,reverse_kernel(ker),dst,option);
3fa81b
@@ -205,7 +205,7 @@ void convolve_rows_fixed(const SrcView& src, const Kernel& ker, const DstView& d
3fa81b
 /// \ingroup ImageAlgorithms
3fa81b
 ///convolve a 1D fixed-size kernel along the columns of an image
3fa81b
 template <typename pixelaccum,typename="" srcview,typename="" kernel,typename="" dstview="">
3fa81b
-GIL_FORCEINLINE
3fa81b
+BOOST_FORCEINLINE
3fa81b
 void convolve_cols_fixed(const SrcView& src, const Kernel& ker, const DstView& dst,
3fa81b
                          convolve_boundary_option option=convolve_option_extend_zero) {
3fa81b
     convolve_rows_fixed<pixelaccum>(transposed_view(src),ker,transposed_view(dst),option);
3fa81b
diff --git a/k3dsdk/gil/boost/gil/extension/numeric/resample.hpp b/k3dsdk/gil/boost/gil/extension/numeric/resample.hpp
3fa81b
index 3cef8a70..ebb39a51 100755
3fa81b
--- a/k3dsdk/gil/boost/gil/extension/numeric/resample.hpp
3fa81b
+++ b/k3dsdk/gil/boost/gil/extension/numeric/resample.hpp
3fa81b
@@ -68,7 +68,7 @@ namespace detail {
3fa81b
         Sampler _sampler;
3fa81b
         resample_pixels_fn(const MapFn& dst_to_src, const Sampler& sampler) : _dst_to_src(dst_to_src), _sampler(sampler) {}
3fa81b
 
3fa81b
-        template <typename srcview,="" typename="" dstview=""> GIL_FORCEINLINE void apply_compatible(const SrcView& src, const DstView& dst)  const { 
3fa81b
+        template <typename srcview,="" typename="" dstview=""> BOOST_FORCEINLINE void apply_compatible(const SrcView& src, const DstView& dst)  const { 
3fa81b
             resample_pixels(src, dst, _dst_to_src, _sampler); 
3fa81b
         }
3fa81b
     };
3fa81b
diff --git a/k3dsdk/istreaming_bitmap_source.h b/k3dsdk/istreaming_bitmap_source.h
3fa81b
index 973bd118..e8f86b2d 100644
3fa81b
--- a/k3dsdk/istreaming_bitmap_source.h
3fa81b
+++ b/k3dsdk/istreaming_bitmap_source.h
3fa81b
@@ -24,6 +24,7 @@
3fa81b
 	\author Tim Shead (tshead@k-3d.com)
3fa81b
 */
3fa81b
 
3fa81b
+#include <k3dsdk bitmap.h="">
3fa81b
 #include <k3dsdk iunknown.h="">
3fa81b
 #include <k3dsdk signal_system.h="">
3fa81b
 
3fa81b
diff --git a/modules/jpeg_io/bitmap_importer.cpp b/modules/jpeg_io/bitmap_importer.cpp
3fa81b
index b7a378af..7d881c12 100644
3fa81b
--- a/modules/jpeg_io/bitmap_importer.cpp
3fa81b
+++ b/modules/jpeg_io/bitmap_importer.cpp
3fa81b
@@ -28,7 +28,7 @@
3fa81b
 #include <k3dsdk string_modifiers.h="">
3fa81b
 
3fa81b
 #include <boost assign="" list_of.hpp="">
3fa81b
-#include <boost gil="" extension="" io="" jpeg_io.hpp="">
3fa81b
+#include <boost gil="" extension="" io="" jpeg.hpp="">
3fa81b
 
3fa81b
 namespace module
3fa81b
 {
3fa81b
@@ -55,7 +55,7 @@ public:
3fa81b
 		try
3fa81b
 		{
3fa81b
 			k3d::log() << info << "Reading " << Path.native_console_string() << " using " << get_factory().name() << std::endl;
3fa81b
-			boost::gil::jpeg_read_and_convert_image(Path.native_filesystem_string(), Bitmap);
3fa81b
+			boost::gil::read_and_convert_image(Path.native_filesystem_string(), Bitmap, boost::gil::jpeg_tag());
3fa81b
 			return true;
3fa81b
 		}
3fa81b
 		catch(std::exception& e)
3fa81b
diff --git a/modules/jpeg_io/bitmap_reader.cpp b/modules/jpeg_io/bitmap_reader.cpp
3fa81b
index 491d269c..795dd3b2 100644
3fa81b
--- a/modules/jpeg_io/bitmap_reader.cpp
3fa81b
+++ b/modules/jpeg_io/bitmap_reader.cpp
3fa81b
@@ -28,7 +28,7 @@
3fa81b
 #include <k3dsdk options.h="">
3fa81b
 #include <k3dsdk path.h="">
3fa81b
 
3fa81b
-#include <boost gil="" extension="" io="" jpeg_io.hpp="">
3fa81b
+#include <boost gil="" extension="" io="" jpeg.hpp="">
3fa81b
 
3fa81b
 namespace module
3fa81b
 {
3fa81b
@@ -66,7 +66,7 @@ public:
3fa81b
 		try
3fa81b
 		{
3fa81b
 			k3d::log() << info << "Reading " << file.native_console_string() << " using " << get_factory().name() << std::endl;
3fa81b
-			boost::gil::jpeg_read_and_convert_image(file.native_filesystem_string(), Output);
3fa81b
+			boost::gil::read_and_convert_image(file.native_filesystem_string(), Output, boost::gil::jpeg_tag());
3fa81b
 		}
3fa81b
 		catch(std::exception& e)
3fa81b
 		{
3fa81b
diff --git a/modules/jpeg_io/bitmap_writer.cpp b/modules/jpeg_io/bitmap_writer.cpp
3fa81b
index 7ff23470..6720b659 100644
3fa81b
--- a/modules/jpeg_io/bitmap_writer.cpp
3fa81b
+++ b/modules/jpeg_io/bitmap_writer.cpp
3fa81b
@@ -26,7 +26,7 @@
3fa81b
 #include <k3dsdk document_plugin_factory.h="">
3fa81b
 #include <k3dsdk node.h="">
3fa81b
 
3fa81b
-#include <boost gil="" extension="" io="" jpeg_io.hpp="">
3fa81b
+#include <boost gil="" extension="" io="" jpeg.hpp="">
3fa81b
 
3fa81b
 namespace module
3fa81b
 {
3fa81b
@@ -78,7 +78,7 @@ public:
3fa81b
 		try
3fa81b
 		{
3fa81b
 			k3d::log() << info << "Writing " << file.native_console_string() << " using " << get_factory().name() << std::endl;
3fa81b
-			boost::gil::jpeg_write_view(file.native_filesystem_string(), boost::gil::color_converted_view<boost::gil::rgb8_pixel_t>(view(*bitmap), extract_rgb()));
3fa81b
+			boost::gil::write_view(file.native_filesystem_string(), boost::gil::color_converted_view<boost::gil::rgb8_pixel_t>(view(*bitmap), extract_rgb()), boost::gil::jpeg_tag());
3fa81b
 		}
3fa81b
 		catch(std::exception& e)
3fa81b
 		{
3fa81b
diff --git a/modules/png_io/bitmap_importer.cpp b/modules/png_io/bitmap_importer.cpp
3fa81b
index 724319c2..617f82c2 100644
3fa81b
--- a/modules/png_io/bitmap_importer.cpp
3fa81b
+++ b/modules/png_io/bitmap_importer.cpp
3fa81b
@@ -30,7 +30,7 @@
3fa81b
 #define int_p_NULL (int*)NULL
3fa81b
 
3fa81b
 #include <boost assign="" list_of.hpp="">
3fa81b
-#include <boost gil="" extension="" io="" png_io.hpp="">
3fa81b
+#include <boost gil="" extension="" io="" png.hpp="">
3fa81b
 
3fa81b
 namespace module
3fa81b
 {
3fa81b
@@ -57,7 +57,7 @@ public:
3fa81b
 		try
3fa81b
 		{
3fa81b
 			k3d::log() << info << "Reading " << File.native_console_string() << " using " << get_factory().name() << std::endl;
3fa81b
-			boost::gil::png_read_and_convert_image(File.native_filesystem_string(), Bitmap);
3fa81b
+			boost::gil::read_and_convert_image(File.native_filesystem_string(), Bitmap, boost::gil::png_tag());
3fa81b
 			return true;
3fa81b
 		}
3fa81b
 		catch(std::exception& e)
3fa81b
diff --git a/modules/png_io/bitmap_reader.cpp b/modules/png_io/bitmap_reader.cpp
3fa81b
index b9772996..297b282c 100644
3fa81b
--- a/modules/png_io/bitmap_reader.cpp
3fa81b
+++ b/modules/png_io/bitmap_reader.cpp
3fa81b
@@ -31,7 +31,7 @@
3fa81b
 #define png_infopp_NULL (png_infopp)NULL
3fa81b
 #define int_p_NULL (int*)NULL
3fa81b
 
3fa81b
-#include <boost gil="" extension="" io="" png_io.hpp="">
3fa81b
+#include <boost gil="" extension="" io="" png.hpp="">
3fa81b
 
3fa81b
 namespace module
3fa81b
 {
3fa81b
@@ -69,7 +69,7 @@ public:
3fa81b
 		try
3fa81b
 		{
3fa81b
 			k3d::log() << info << "Reading " << file.native_console_string() << " using " << get_factory().name() << std::endl;
3fa81b
-			boost::gil::png_read_and_convert_image(file.native_filesystem_string(), Output);
3fa81b
+			boost::gil::read_and_convert_image(file.native_filesystem_string(), Output, boost::gil::png_tag());
3fa81b
 		}
3fa81b
 		catch(std::exception& e)
3fa81b
 		{
3fa81b
diff --git a/modules/png_io/bitmap_writer.cpp b/modules/png_io/bitmap_writer.cpp
3fa81b
index 373040f3..dce0287c 100644
3fa81b
--- a/modules/png_io/bitmap_writer.cpp
3fa81b
+++ b/modules/png_io/bitmap_writer.cpp
3fa81b
@@ -29,7 +29,7 @@
3fa81b
 #define png_infopp_NULL (png_infopp)NULL
3fa81b
 #define int_p_NULL (int*)NULL
3fa81b
 
3fa81b
-#include <boost gil="" extension="" io="" png_io.hpp="">
3fa81b
+#include <boost gil="" extension="" io="" png.hpp="">
3fa81b
 
3fa81b
 namespace module
3fa81b
 {
3fa81b
@@ -76,7 +76,7 @@ public:
3fa81b
 				throw std::runtime_error("bitmap with zero height");
3fa81b
 
3fa81b
 			k3d::log() << info << "Writing " << file.native_console_string() << " using " << get_factory().name() << std::endl;
3fa81b
-			boost::gil::png_write_view(file.native_filesystem_string(), boost::gil::color_converted_view<boost::gil::rgba8_pixel_t>(view(*bitmap)));
3fa81b
+			boost::gil::write_view(file.native_filesystem_string(), boost::gil::color_converted_view<boost::gil::rgba8_pixel_t>(view(*bitmap)), boost::gil::png_tag());
3fa81b
 		}
3fa81b
 		catch(std::exception& e)
3fa81b
 		{
3fa81b
diff --git a/modules/tiff_io/bitmap_exporter.cpp b/modules/tiff_io/bitmap_exporter.cpp
3fa81b
index 3e18649b..83e2dd76 100644
3fa81b
--- a/modules/tiff_io/bitmap_exporter.cpp
3fa81b
+++ b/modules/tiff_io/bitmap_exporter.cpp
3fa81b
@@ -28,7 +28,7 @@
3fa81b
 #include <k3dsdk path.h="">
3fa81b
 #include <k3dsdk string_modifiers.h="">
3fa81b
 
3fa81b
-#include <boost gil="" extension="" io="" tiff_io.hpp="">
3fa81b
+#include <boost gil="" extension="" io="" tiff.hpp="">
3fa81b
 
3fa81b
 namespace module
3fa81b
 {
3fa81b
@@ -55,7 +55,7 @@ public:
3fa81b
 		try
3fa81b
 		{
3fa81b
 			k3d::log() << info << "Writing " << Path.native_console_string() << " using " << get_factory().name() << std::endl;
3fa81b
-			boost::gil::tiff_write_view(Path.native_filesystem_string(), boost::gil::color_converted_view<boost::gil::rgb8_pixel_t>(const_view(Bitmap)));
3fa81b
+			boost::gil::write_view(Path.native_filesystem_string(), boost::gil::color_converted_view<boost::gil::rgb8_pixel_t>(const_view(Bitmap)), boost::gil::tiff_tag());
3fa81b
 			return true;
3fa81b
 		}
3fa81b
 		catch(std::exception& e)
3fa81b
diff --git a/modules/tiff_io/bitmap_importer.cpp b/modules/tiff_io/bitmap_importer.cpp
3fa81b
index f9281259..a5d32195 100644
3fa81b
--- a/modules/tiff_io/bitmap_importer.cpp
3fa81b
+++ b/modules/tiff_io/bitmap_importer.cpp
3fa81b
@@ -28,7 +28,7 @@
3fa81b
 #include <k3dsdk string_modifiers.h="">
3fa81b
 
3fa81b
 #include <boost assign="" list_of.hpp="">
3fa81b
-#include <boost gil="" extension="" io="" tiff_io.hpp="">
3fa81b
+#include <boost gil="" extension="" io="" tiff.hpp="">
3fa81b
 
3fa81b
 namespace module
3fa81b
 {
3fa81b
@@ -55,7 +55,7 @@ public:
3fa81b
 		try
3fa81b
 		{
3fa81b
 			k3d::log() << info << "Reading " << Path.native_console_string() << " using " << get_factory().name() << std::endl;
3fa81b
-			boost::gil::tiff_read_and_convert_image(Path.native_filesystem_string(), Bitmap);
3fa81b
+			boost::gil::read_and_convert_image(Path.native_filesystem_string(), Bitmap, boost::gil::tiff_tag());
3fa81b
 			return true;
3fa81b
 		}
3fa81b
 		catch(std::exception& e)
3fa81b
diff --git a/modules/tiff_io/bitmap_reader.cpp b/modules/tiff_io/bitmap_reader.cpp
3fa81b
index 2eece977..373c7de4 100644
3fa81b
--- a/modules/tiff_io/bitmap_reader.cpp
3fa81b
+++ b/modules/tiff_io/bitmap_reader.cpp
3fa81b
@@ -28,7 +28,7 @@
3fa81b
 #include <k3dsdk options.h="">
3fa81b
 #include <k3dsdk path.h="">
3fa81b
 
3fa81b
-#include <boost gil="" extension="" io="" tiff_io.hpp="">
3fa81b
+#include <boost gil="" extension="" io="" tiff.hpp="">
3fa81b
 
3fa81b
 namespace module
3fa81b
 {
3fa81b
@@ -66,7 +66,7 @@ public:
3fa81b
 		try
3fa81b
 		{
3fa81b
 			k3d::log() << info << "Reading " << file.native_console_string() << " using " << get_factory().name() << std::endl;
3fa81b
-			boost::gil::tiff_read_and_convert_image(file.native_filesystem_string(), Output);
3fa81b
+			boost::gil::read_and_convert_image(file.native_filesystem_string(), Output, boost::gil::tiff_tag());
3fa81b
 		}
3fa81b
 		catch(std::exception& e)
3fa81b
 		{
3fa81b
diff --git a/modules/tiff_io/bitmap_writer.cpp b/modules/tiff_io/bitmap_writer.cpp
3fa81b
index 12cb8601..d58aafd2 100644
3fa81b
--- a/modules/tiff_io/bitmap_writer.cpp
3fa81b
+++ b/modules/tiff_io/bitmap_writer.cpp
3fa81b
@@ -26,7 +26,7 @@
3fa81b
 #include <k3dsdk document_plugin_factory.h="">
3fa81b
 #include <k3dsdk node.h="">
3fa81b
 
3fa81b
-#include <boost gil="" extension="" io="" tiff_io.hpp="">
3fa81b
+#include <boost gil="" extension="" io="" tiff.hpp="">
3fa81b
 
3fa81b
 namespace module
3fa81b
 {
3fa81b
@@ -78,7 +78,7 @@ public:
3fa81b
 		try
3fa81b
 		{
3fa81b
 			k3d::log() << info << "Writing " << file.native_console_string() << " using " << get_factory().name() << std::endl;
3fa81b
-			boost::gil::tiff_write_view(file.native_filesystem_string(), boost::gil::color_converted_view<boost::gil::rgb8_pixel_t>(view(*bitmap), extract_rgb()));
3fa81b
+			boost::gil::write_view(file.native_filesystem_string(), boost::gil::color_converted_view<boost::gil::rgb8_pixel_t>(view(*bitmap), extract_rgb()), boost::gil::tiff_tag());
3fa81b
 		}
3fa81b
 		catch(std::exception& e)
3fa81b
 		{
3fa81b
-- 
7ad9a1
2.21.0
3fa81b