From f0b44937cef5a4fea32bfba2995c888664ffc66e Mon Sep 17 00:00:00 2001 From: kimci86 Date: Wed, 28 Dec 2022 16:28:45 +0100 Subject: [PATCH] Update Image documentation regarding supported input formats --- include/SFML/Graphics/Image.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/SFML/Graphics/Image.hpp b/include/SFML/Graphics/Image.hpp index 75650c8c1..301f3e13d 100644 --- a/include/SFML/Graphics/Image.hpp +++ b/include/SFML/Graphics/Image.hpp @@ -90,8 +90,8 @@ public: /// \brief Load the image from a file on disk /// /// The supported image formats are bmp, png, tga, jpg, gif, - /// psd, hdr and pic. Some format options are not supported, - /// like progressive jpeg. + /// psd, hdr, pic and pnm. Some format options are not supported, + /// like jpeg with arithmetic coding or ASCII pnm. /// If this function fails, the image is left unchanged. /// /// \param filename Path of the image file to load @@ -107,8 +107,8 @@ public: /// \brief Load the image from a file in memory /// /// The supported image formats are bmp, png, tga, jpg, gif, - /// psd, hdr and pic. Some format options are not supported, - /// like progressive jpeg. + /// psd, hdr, pic and pnm. Some format options are not supported, + /// like jpeg with arithmetic coding or ASCII pnm. /// If this function fails, the image is left unchanged. /// /// \param data Pointer to the file data in memory @@ -125,8 +125,8 @@ public: /// \brief Load the image from a custom stream /// /// The supported image formats are bmp, png, tga, jpg, gif, - /// psd, hdr and pic. Some format options are not supported, - /// like progressive jpeg. + /// psd, hdr, pic and pnm. Some format options are not supported, + /// like jpeg with arithmetic coding or ASCII pnm. /// If this function fails, the image is left unchanged. /// /// \param stream Source stream to read from