openurl file + starting with sending image file and pasting

This commit is contained in:
2023-10-04 02:11:06 +02:00
parent 89bc11eca7
commit fc90106d83
9 changed files with 322 additions and 2 deletions

View File

@@ -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;
};