add image scaling to send image popup

This commit is contained in:
Green Sky
2025-11-05 18:53:07 +01:00
parent e8a15a58dd
commit 1547999ec0
6 changed files with 124 additions and 23 deletions

View File

@@ -1,6 +1,9 @@
#pragma once
#include <SDL3/SDL.h>
#include <cstdint>
bool image_scale(uint8_t* dst, const int dst_w, const int dst_h, uint8_t* src, const int src_w, const int src_h);
bool image_scale(SDL_Surface* dst, SDL_Surface* src);