Image2Movie MATLAB example

Requires MATLAB R2025a or newer. No additional toolbox is needed.

1. Extract this ZIP into a writable folder and run Matlab_Animation_Example.m.
2. Import frame_0001.png through frame_0120.png from Animation_Example_Frames
   into Image2Movie in filename order.
3. Choose 1920 x 1080 and 30 fps for a four-second movie.
   In Image2Movie 4.0, HEVC / High is a good starting point.

The script creates lossless PNGs at exact pixel dimensions and uses fixed axes.
Use an empty output folder; it stops if the folder already contains PNGs.
For UHD, set frameWidth=3840 and frameHeight=2160, then use the same movie size.
The example works with Image2Movie 3.1 and 4.0. It exports ordinary 8-bit PNGs;
it does not demonstrate a 16-bit source-image workflow.

exportgraphics documentation:
https://www.mathworks.com/help/matlab/ref/exportgraphics.html
