Resize Frames - jhogsett/EMA-VFI-WebUI GitHub Wiki

Uses
- Increase or decrease the size of video frames
- Fix issues with Aspect Ratio
- Reduce image blur prior to using Upscale Frames to enlarge using Real-ESRGAN
- Crop out VHS tape noise in a digitized video
How It Works
- Set Input Path to a directory on this server to the PNG files to be resized
- Set Output Path to a directory on this server for the resized PNG files
- Set Scaling Type to one of the available types:
- area
cv2.INTER_AREA
(best quality reducing)
- cubic
cv2.INTER_CUBIC
(better quality than linear)
- lanczos
cv2.INTER_LANCZOS4
(best quality enlarging)
- linear
cv2.INTER_LINEAR
(fast, good at enlarging)
- nearest
cv2.INTER_NEAREST
(fastest, lower quality)
- none - disable resizing
- Set Scale Width and Scale Height to the resizing dimensions for the frames
- Set Cropping Type to one of the available types:
- crop - enable cropping
- none - disable cropping
- Set Crop Width and Crop Height to the cropping dimensions for the frames
- Keep the default values of
-1
to match the resizing values
- Set Crop X Offset and Crop Y Offset to the cropping origin for the frames
- Keep the default values of
-1
to automatically center the cropped portion
- Click Resize Frames
- When complete, the output path will contain a new set of frames
Important
- If cropping only, the original image dimensions must be entered into the Scale Width and Scale Height fields
- Cropping is performed after resizing