How to convert multiple XCF files to PNG?
One-liner from bash:
for i in *.xcf; do xcf2png -f $i -o $i.png; done
You can use GIMP Image editor and use Export to tool. Use Ctrl-Shift-E as shortcut.
Or you could use convert
from imagemagick
:
convert filename.xcf filename.png
You could also use xcftools
(sudo apt-get install xcftools), which has a utility called xcf2png
that does this job perfectly.
xcf2png image.xcf -o image.png
same of @k0pernikus, but remove xcf
extension from output filename
for i in *.xcf; do xcf2png -f $i -o "${i%.*}.png"; done