forked from Green-Sky/tomato
openurl file + starting with sending image file and pasting
This commit is contained in:
@@ -9,6 +9,7 @@ struct ImageLoaderI {
|
||||
struct ImageInfo {
|
||||
uint32_t width {0};
|
||||
uint32_t height {0};
|
||||
const char* file_ext {nullptr};
|
||||
};
|
||||
virtual ImageInfo loadInfoFromMemory(const uint8_t* data, uint64_t data_size) = 0;
|
||||
|
||||
@@ -20,6 +21,7 @@ struct ImageLoaderI {
|
||||
std::vector<uint8_t> data;
|
||||
};
|
||||
std::vector<Frame> frames;
|
||||
const char* file_ext {nullptr};
|
||||
};
|
||||
virtual ImageResult loadFromMemoryRGBA(const uint8_t* data, uint64_t data_size) = 0;
|
||||
};
|
||||
|
Reference in New Issue
Block a user