8#ifndef BOOST_GIL_IO_BASE_HPP
9#define BOOST_GIL_IO_BASE_HPP
11#include <boost/gil/extension/toolbox/toolbox.hpp>
13#include <boost/gil/bit_aligned_pixel_reference.hpp>
14#include <boost/gil/bit_aligned_pixel_iterator.hpp>
15#include <boost/gil/color_convert.hpp>
16#include <boost/gil/utilities.hpp>
17#include <boost/gil/io/error.hpp>
18#include <boost/gil/io/typedefs.hpp>
25namespace boost {
namespace gil {
29template<
typename Property >
32 using type = Property;
35template<
typename FormatTag>
36struct is_format_tag : std::is_base_of<format_tag, FormatTag> {};
38struct image_read_settings_base
42 image_read_settings_base()
47 image_read_settings_base( point_t
const& top_left
50 : _top_left( top_left )
57 void set( point_t
const& top_left
79template<
typename Pixel,
typename FormatTag >
struct is_write_supported {};
84template<
typename Property >
87 using type = Property;
92struct read_support_true {
static constexpr bool is_supported =
true; };
93struct read_support_false {
static constexpr bool is_supported =
false; };
94struct write_support_true {
static constexpr bool is_supported =
true; };
95struct write_support_false{
static constexpr bool is_supported =
false; };
99template<
typename Device,
typename FormatTag >
struct reader_backend;
100template<
typename Device,
typename FormatTag >
struct writer_backend;
102template<
typename FormatTag >
struct image_read_info;
103template<
typename FormatTag >
struct image_read_settings;
104template<
typename FormatTag,
typename Log = no_log >
struct image_write_info;
defined(BOOST_NO_CXX17_HDR_MEMORY_RESOURCE)
Definition algorithm.hpp:36