aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/graphics/ImageFactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/platform/graphics/ImageFactory.h')
-rw-r--r--include/cru/platform/graphics/ImageFactory.h4
1 files changed, 2 insertions, 2 deletions
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;