|
| Expected< void > | toJpeg (const Image &image, const std::filesystem::path &path) |
| | saves in .jpg format
|
| Expected< void > | toPng (const Image &image, const std::filesystem::path &path) |
| | saves in .png format
|
| Expected< void > | toPng (const Image &image, std::ostream &os) |
| Expected< void > | toTiff (const Image &image, const std::filesystem::path &path) |
| | saves in .tiff format with unassociated alpha, as in Image: the colors are not multiplied by it
|
| Expected< void > | toBmp (const Image &image, const std::filesystem::path &path) |
| | saves in .bmp format
|
| Expected< void > | toAnySupportedFormat (const Image &image, const std::filesystem::path &path) |
| | detects the format from file extension and save image to it
|