input.jpg
Selected file
FFmpeg command
ffmpeg -i 'input.jpg' -vf scale=1280:-1 'output.jpg'Resize Image
This preset scales the image to the selected width while calculating its height to preserve the original aspect ratio.
-iSpecifies the input image file.
-vf scaleApplies FFmpeg's image scaling filter.
scale=1280:-1Sets the image width to 1280 pixels and calculates the height to preserve its aspect ratio.