0 Members and 2 Guests are viewing this topic.
The supported image formats are bmp, png, tga, jpg, gif, 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.
https://www.sfml-dev.org/documentation/2.6.1/classsf_1_1Image.php#a9e4f2aa8e36d0cabde5ed5a4ef80290bQuoteThe supported image formats are bmp, png, tga, jpg, gif, 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.
To be clear, this:https://www.sfml-dev.org/documentation/2.6.1/is the API documentation (that you mentioned in the original post).There, you can click Classes and look up all the available classes, including sf::Image.Hope this helps