input.jpg
Selected file
FFmpeg command
ffmpeg -i 'input.jpg' -frames:v 1 -c:v png 'output.png'About this command
This command converts the input image to PNG. PNG supports transparency; animated inputs are converted using their first frame.
-iSpecifies the input image file.
-frames:v 1Writes one frame, using the first frame for animated images.
-c:v pngEncodes the image using the lossless PNG codec.