MRaster examples 21.0.0.0
Image Processing Library
Loading...
Searching...
No Matches
mandelbrot_count_movie.cpp File Reference

Simplified code for for web page examples. More...

Go to the source code of this file.

Detailed Description

Simplified code for for web page examples.

Author
Mitch Richling https://www.mitchr.me
Standards
C++20
See also
https://www.mitchr.me/SS/mandelbrot/index.html
Details


Create a gif like this: time convert -delay 1 -loop 0 -dispose previous mandelbrot_count_movie_???.tiff mandelbrot_count_movie.gif Convert TIFFs to PNGs: ls mandelbrot_count_movie_???.tiff | xargs -P 8 -I{} sh -c 'echo {}; convert {} $(echo {} | sed "s/\.tiff$/.png/;")' Convert PNGs into a WEBM ffmpeg -r 15 -i mandelbrot_count_movie_%03d.png -crf 20 mandelbrot_count_movie.webm Convert TIFFs to PNGs at 45% size: ls mandelbrot_count_movie_???.tiff | xargs -P 8 -I{} sh -c 'echo {}; convert {} -resize 45% $(echo {} | sed "s/\.tiff$/_45.png/;")' Convert 45% PNGs into a WEBM ffmpeg -r 15 -i mandelbrot_count_movie_%03d_45.png -crf 20 mandelbrot_count_movie_45.webm

Definition in file mandelbrot_count_movie.cpp.