| 128 | } |
| 129 | |
| 130 | void SaveWebpFile(std::shared_ptr<Data> data, const std::string& key) { |
| 131 | SaveFile(data, key + WEBP_FILE_EXT); |
| 132 | } |
| 133 | |
| 134 | void SaveImage(const std::shared_ptr<PixelBuffer> pixelBuffer, const std::string& key) { |
| 135 | if (pixelBuffer == nullptr) { |