Code: Select all
stream -map i -storage-type short *.bmp *.raw
I am using ImageMagick 6.8.9-9 Q16 in Ubuntu.
Code: Select all
stream -map i -storage-type short *.bmp *.raw
In your case, if I understand correctly,BenSande wrote:Mogrify doesn't have the ability to stream to a binary short storage file, which is what I really need. Neither does convert, otherwise I would be using that. The -map and -storage-type tools are stream only.
Code: Select all
convert -depth 16 file.bmp GRAY:file.raw
Code: Select all
mogrify -depth 16 -format gray -- *.bmp
Expanding * is a work of shell, not a ImageMagick, so evenBenSande wrote:I get one file titled *.raw, which seems to be the data from just the first file. I've tried a few variations on the asterisks, but got error messages, and am quite puzzled.
Code: Select all
convert *.bmp *.png
Code: Select all
$ convert -debug 'Configure' *.bmp *.png 2>&1| head
2015-07-29T11:22:45+09:00 0:00.009 0.015u 6.9.1 Configure convert[3464]: utility.c/ExpandFilenames/936/Configure
Command line: convert {-debug} {Configure} {1.bmp} {2.bmp} {*.png}
Code: Select all
convert *.bmp -depth 16 -set filename:f '%t' +adjoin GRAY:'%[filename:f].raw'