| 13 | #include <fstream> |
| 14 | |
| 15 | std::unique_ptr<ImageWriter> ImageWriter::create(Config& config) |
| 16 | { |
| 17 | if (!config.hasImageWriter()) |
| 18 | error("no image writer configured"); |
| 19 | return create(config->image_writer()); |
| 20 | } |
| 21 | |
| 22 | std::unique_ptr<ImageWriter> ImageWriter::create(const ImageWriterProto& config) |
| 23 | { |
nothing calls this directly
no test coverage detected