diff options
author | crupest <crupest@outlook.com> | 2022-05-08 18:46:32 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-05-08 18:46:32 +0800 |
commit | a7ca9057de3a01d5071406828f134e2e3bcfb49c (patch) | |
tree | d5fb0ce03ba86b1cb6db36ad6922a5ed0f0d9810 /include/cru/osx/graphics/quartz/ImageFactory.h | |
parent | 75c8a508acc3388b2c2f624bdf00fb155cd914f9 (diff) | |
download | cru-a7ca9057de3a01d5071406828f134e2e3bcfb49c.tar.gz cru-a7ca9057de3a01d5071406828f134e2e3bcfb49c.tar.bz2 cru-a7ca9057de3a01d5071406828f134e2e3bcfb49c.zip |
...
Diffstat (limited to 'include/cru/osx/graphics/quartz/ImageFactory.h')
-rw-r--r-- | include/cru/osx/graphics/quartz/ImageFactory.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/osx/graphics/quartz/ImageFactory.h b/include/cru/osx/graphics/quartz/ImageFactory.h index 19e9c8c1..23d14332 100644 --- a/include/cru/osx/graphics/quartz/ImageFactory.h +++ b/include/cru/osx/graphics/quartz/ImageFactory.h @@ -15,6 +15,8 @@ class QuartzImageFactory : public OsxQuartzResource, public: std::unique_ptr<IImage> DecodeFromStream(io::Stream* stream) override; + void EncodeToStream(IImage* image, io::Stream* stream, ImageFormat format, + float quality) override; std::unique_ptr<IImage> CreateBitmap(int width, int height) override; }; } // namespace cru::platform::graphics::osx::quartz |