320kbps
← Back to presets

Resize Image

Resize an image to a specific width while preserving its aspect ratio.

input.jpg

Selected file

Ready

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.

-i

Specifies the input image file.

-vf scale

Applies FFmpeg's image scaling filter.

scale=1280:-1

Sets the image width to 1280 pixels and calculates the height to preserve its aspect ratio.