diff options
Diffstat (limited to 'source/core/StarImage.hpp')
-rw-r--r-- | source/core/StarImage.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/core/StarImage.hpp b/source/core/StarImage.hpp index 478d074..aac0105 100644 --- a/source/core/StarImage.hpp +++ b/source/core/StarImage.hpp @@ -27,6 +27,7 @@ STAR_CLASS(Image); class Image { public: static Image readPng(IODevicePtr device); + static bool isPng(IODevicePtr device); // Returns the size and pixel format that would be constructed from the given // png file, without actually loading it. static tuple<Vec2U, PixelFormat> readPngMetadata(IODevicePtr device); |