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

@ -27,6 +27,7 @@ ImageLoaderWebP::ImageInfo ImageLoaderWebP::loadInfoFromMemory(const uint8_t* da
WebPAnimDecoderGetInfo(dec, &anim_info);
res.width = anim_info.canvas_width;
res.height = anim_info.canvas_height;
res.file_ext = "webp";
return res;
}
@ -53,6 +54,7 @@ ImageLoaderWebP::ImageResult ImageLoaderWebP::loadFromMemoryRGBA(const uint8_t*
WebPAnimDecoderGetInfo(dec, &anim_info);
res.width = anim_info.canvas_width;
res.height = anim_info.canvas_height;
res.file_ext = "webp";
int prev_timestamp = 0;
while (WebPAnimDecoderHasMoreFrames(dec)) {