Making mosaic images with ffmpeg
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
321 B

#include <image_io.hpp>
#include <utilities.hpp>
extern "C" {
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libswscale/swscale.h>
}
using namespace std;
int main(){
av_register_all();
while(true){
auto const image = open_image("needle.png");
save_as_jpg(image, "output.jpg");
}
}