6#ifndef EGT_DETAIL_IMAGE_H 
    7#define EGT_DETAIL_IMAGE_H 
   14#include <egt/detail/meta.h> 
   15#include <egt/surface.h> 
   30                                       const std::string& name = {});
 
EGT_API Surface load_image_from_network(const std::string &url)
Load an image from the network.
EGT_API Surface load_image_from_memory(const unsigned char *data, size_t len, const std::string &name={})
Load an image from memory.
EGT_API Surface load_image_from_resource(const std::string &name)
Load an image from ResourceManager.
EGT_API Surface load_image_from_filesystem(const std::string &path)
Load an image from the filesystem.
EGT_API std::string get_mime_type(const std::string &path)
Return the mime type string for a file.
EGT framework namespace.
Definition animation.h:24