[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to convert 100 bmp files to jpeg?



Am 2006-01-14 20:55:34, schrieb Serena Cantor:
> I 100 bmp files. I installed gimp and imagemagik, but
> can't find the way to convert 100 bmp files to jpeg in
> batch fashion. Do you know the command? Thanks!

apt-get install netpbm

for X in *.bmp ; do
   bmptopnm $X |pnmtojpeg -quality 100 >`basename .bmp`.jpg
done

Greetings
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)



Reply to: