HI FOLKS, MY NAME IS

THOMAS

SAP SOLUTION ARCHITECT, LINUX EXPERT
& MOTORCYCLE ENTHUSIAST

Convert bitmap to something else


A nice one-liner (you can also do it in one line if you like) to convert bitmaps i.e. to PNGs:

#! /bin/sh

for i in *.bmp; do
  convert "$i" "${i%.bmp}.png";
done
rm *.bmp

You only have to install “convert” on your system if it is not already installed.


SAP SOLUTION ARCHITECT, LINUX EXPERT & MOTORCYCLE ENTHUSIAST

© 2018 by Thomas Bendler,
all Rights Reserved