color anim + fix crop w/h sanitization + hack to determine if png

This commit is contained in:
2023-10-05 18:26:35 +02:00
parent 8633c5eafd
commit b479db4989
2 changed files with 55 additions and 10 deletions

View File

@ -41,6 +41,8 @@ struct SendImagePopup {
bool compress {false};
uint32_t quality {80u};
float time {0.f}; // cycling form 0 to 1 over time
bool _open_popup {false};
std::function<void(const std::vector<uint8_t>&, std::string_view)> _on_send = [](const auto&, auto){};