First time poster, I recently discovered IM and am pretty impressed, wished I knew about it long ago!
The task I'm undertaking is copy/converting a folder full of headerless 16-bit grayscale image files into 8-bit Multipage TIFFs on the Windows command line. The process is to be repeated multiple times on many large folders (one TIFF per folder) so I want it to be as efficient as possible.
The issue is that the files have a .RAW file extension and I couldn't find a way to make IM realise that these were actually RAW data (just pixels) and not Canon Raw (unprocessed) files. I solved this by copying the files to a temporary folder and using the .gray extension.
So the process for each folder is currently:
Code: Select all
XCOPY %InputFolder%\*.raw %_TemporaryFolder%\*.gray
MAGICK -size %%L %_TemporaryFolder%\*.gray -depth 8 %_OutputFolder%\OutputFile.tif"
MAGICK -FileFormat GRAY -size %%L %CurrentFolder%\*.raw -depth 8 %_OutputFolder%\OutputFile.tif"
But I can't find any option for this. What am I missing?
Dan