From a7ca9057de3a01d5071406828f134e2e3bcfb49c Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 8 May 2022 18:46:32 +0800 Subject: ... --- include/cru/platform/graphics/ImageFactory.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/cru/platform/graphics/ImageFactory.h') diff --git a/include/cru/platform/graphics/ImageFactory.h b/include/cru/platform/graphics/ImageFactory.h index 2339a069..cd868087 100644 --- a/include/cru/platform/graphics/ImageFactory.h +++ b/include/cru/platform/graphics/ImageFactory.h @@ -3,7 +3,7 @@ #include "cru/common/io/Stream.h" namespace cru::platform::graphics { -enum class ImageFormat { Jpeg, Png }; +enum class ImageFormat { Jpeg, Png, Gif }; struct CRU_PLATFORM_GRAPHICS_API IImageFactory : public virtual IGraphicsResource { @@ -15,7 +15,7 @@ struct CRU_PLATFORM_GRAPHICS_API IImageFactory * \param stream The stream to write to. * \param format The format to encode to. * \param quality The quality to encode to. - * \todo Implement on macOS and Windows. + * \todo Implement on Windows. */ virtual void EncodeToStream(IImage* image, io::Stream* stream, ImageFormat format, float quality) = 0; -- cgit v1.2.3