windows::CPicture


All platform-dependent classes have been moved to Platform Package in release 10.0.0.

This class is available on Windows platform only

Corresponding class for Linux platform is here.

Corresponding class for Android platform is here.

Implements class for working with images for Windows platform.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class CPicture :public virtual IPicture
    {
    public:
        int getSupportedFormatCount() override;
        FORMAT getSupportedFormat(const int index) override;
        String getFilter() override;
    
        Bitmap Load(const String &filename) override;
        // Since 6.0.0 
        bool Load(const String &filename, ITexture *dest) override;
        // Since 6.2.0 
        bool Save(const String &filename, const Bitmap &bmp, const void *options = nullptr) override;
        bool Save(const String &filename, ITexture *texture, const void *options = nullptr) override;
    
        CPicture();
        ~CPicture();
    };
Namespace: nitisa::standard::windows
Include: Standard/Platform/Windows/Picture.h