3.3.2.20. Class ResampledOutputStream

3.3.2.20.1. Class Documentation

class ResampledOutputStream

Write a resampled image by block.

Public Functions

ResampledOutputStream(const std::string &input_path, const std::string &output_path, const ZoomRatio &zoom_ratio)
~ResampledOutputStream()
ResampledOutputStream(const ResampledOutputStream&)
ResampledOutputStream &operator=(const ResampledOutputStream&)
ResampledOutputStream(ResampledOutputStream&&)
ResampledOutputStream &operator=(ResampledOutputStream&&)
void Write(StreamBlock &&block, std::error_code &ec)

Write a zoomed block in the output file.

Parameters
  • block: block to write
  • ec: error code if operation failed