6#ifndef EGT_DETAIL_IMAGE_H
7#define EGT_DETAIL_IMAGE_H
14#include <egt/detail/meta.h>
30 const std::string& name = {});
EGT_API shared_cairo_surface_t load_image_from_memory(const unsigned char *data, size_t len, const std::string &name={})
Load an image from memory.
EGT_API shared_cairo_surface_t load_image_from_resource(const std::string &name)
Load an image from ResourceManager.
EGT_API shared_cairo_surface_t 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_API shared_cairo_surface_t load_image_from_network(const std::string &url)
Load an image from the network.
std::shared_ptr< cairo_surface_t > shared_cairo_surface_t
Shared pointer for a cairo surface.
Definition types.h:29
EGT framework namespace.
Definition animation.h:24