320kbps
← Back to presets

Image → JPEG

Convert images to JPEG with adjustable quality.

input.png

Selected file

Ready

FFmpeg command

ffmpeg -i 'input.png' -frames:v 1 -c:v mjpeg -q:v 5 'output.jpg'

About this command

This command converts the input image to JPEG. JPEG does not support transparency, so transparent areas are flattened during conversion.

-i

Specifies the input image file.

-frames:v 1

Writes one frame, using the first frame for animated images.

-c:v mjpeg

Encodes the image using the Motion JPEG codec.

-q:v

Sets JPEG quality from 2 (best quality) to 31 (smallest output).