Code: Select all
$ convert foo.jpg bar.bmp
However, how can I convert to a BMP and pipe the output to standard out? I tried
Code: Select all
$ convert foo.jpg -
I assume that this has something to do with the "-format" argument but anything I tried to put in did not affect the output format and the same JPEG was returned.
I have tried looking at
Code: Select all
identify -list format
I am running ImageMagick 6.3.7 on Debian Lenny AMD64, if that helps.