#include "image.h"
#include <functional>
Go to the source code of this file.
|
| Image | satdump::image::make_manyimg_composite (int count_width, int count_height, int img_cnt, std::function< Image(int cnt)> get_img_func) |
| | Simple function to make a "matrix" out of many image to save them in a single image. You should ensure img_cnt is never 0 and does not exceed what get_img_func can provide. Images should also be identical in size and depth!
|
|
Image | satdump::image::blend_images (std::vector< Image > &images) |
|
image::Image | satdump::image::merge_images_opacity (image::Image &img1, image::Image &img2, float op) |
◆ make_manyimg_composite()
| Image satdump::image::make_manyimg_composite |
( |
int | count_width, |
|
|
int | count_height, |
|
|
int | img_cnt, |
|
|
std::function< Image(int cnt)> | get_img_func ) |
Simple function to make a "matrix" out of many image to save them in a single image. You should ensure img_cnt is never 0 and does not exceed what get_img_func can provide. Images should also be identical in size and depth!
- Parameters
-
| count_width | Matrix width in images |
| count_height | Matrix height in images |
| img_cnt | number of images |
| get_img_func | function returns the images to put in the matrix |
- Returns
- the image matrix