💻 Software
Batch converting PNG to JPG in linux
Fresh7 days ago
Mar 15, 2026319736 viewsConfidence Score1%
1%
Problem
Does anyone know a good way to batch-convert a bunch of PNGs into JPGs in linux? (I'm using Ubuntu). A png2jpg binary that I could just drop into a shell script would be ideal.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Batch converting PNG to JPG in linux
Low Risk
Your best bet would be to use ImageMagick. I am not an expert in the actual usage, but I know you can pretty much do anything image-related with this! An example is: which will keep the original as well as creating the converted image. As for batch conversion, I think you need to use the Mogrify tool which is part of ImageMagick. Keep in mind that this overwrites the old images. The command is:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix