Core Image class.
More...
#include <cstddef>
#include <cstdint>
#include <vector>
Go to the source code of this file.
◆ image_to_rgba()
| void satdump::image::image_to_rgba |
( |
Image & | img, |
|
|
uint32_t * | output ) |
Convert an image to a 8-bit RGBA buffer for OpenGL/etc textures.
- Parameters
-
| img | image to convert |
| output | output buffer |
◆ imemcpy()
| void satdump::image::imemcpy |
( |
Image & | img1, |
|
|
size_t | pos1, |
|
|
Image & | img2, |
|
|
size_t | pos2, |
|
|
size_t | px_size ) |
Copy part of an image over. Safe way to do it with variable bit depths & channels.
- Parameters
-
| img1 | image to copy to |
| pos1 | position to copy to |
| img2 | image to copy from |
| pos2 | position to copy from |
| px_size | number of pixels to copy |