boat
C++23 geospatial library
Loading...
Searching...
No Matches
gil.hpp File Reference
#include <boat/blob.hpp>
#include <boost/gil/extension/dynamic_image/any_image.hpp>
#include <boost/mp11.hpp>
#include <cstdint>
Include dependency graph for gil.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  boat
namespace  boat::gil

Typedefs

template<class Value, class Layout>
using boat::gil::image = boost::gil::image<boost::gil::pixel<Value, Layout>, false>
using boat::gil::any_image
using boat::gil::any_image_view = typename any_image::const_view_t

Functions

template<class T>
requires requires { boost::gil::view(std::declval<T&>()); }
T boat::gil::to (any_image_view img)
template<class T>
requires requires { boost::gil::view(std::declval<T&>()); }
T boat::gil::read (blob_view img)
 Decodes PNG or JPEG by signature.