Extracts a general image header from image file data.
More...
#include <image_header_extractor.hpp>
Extracts a general image header from image file data.
◆ get() [1/2]
std::optional< image_general_header > essence::imaging::abstract::image_header_extractor::get |
( |
std::istream & | stream | ) |
const |
|
inlinenodiscard |
Extracts the general image header from a standard input stream.
- Parameters
-
- Returns
- The image header if succeeds; otherwise std::nullopt.
◆ get() [2/2]
std::optional< image_general_header > essence::imaging::abstract::image_header_extractor::get |
( |
std::span< const std::byte > | buffer | ) |
const |
|
inlinenodiscard |
Extracts the general image header from a memory buffer.
- Parameters
-
- Returns
- The image header if succeeds; otherwise std::nullopt.
◆ hint()
Gets the underlying type hint.
- Returns
- The type hint.
The documentation for this class was generated from the following file: