-
Notifications
You must be signed in to change notification settings - Fork 4
Resize Frames
Jerry Hogsett edited this page Jun 29, 2023
·
3 revisions
- 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
- 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
-
area
- 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
- Keep the default values of
- 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
- Keep the default values of
- Click Resize Frames
- When complete, the output path will contain a new set of frames
- If cropping only, the original image dimensions must be entered into the Scale Width and Scale Height fields
- Cropping is performed after resizing