[magick-users] convert .dcm to .jpg
Anthony Thyssen
anthony at griffith.edu.au
Sun Dec 10 22:06:34 CST 2006
travis noll on wrote...
| I have about 400 images from a recent mri that I'd
| like to pick through and convert from the .dcm / DICOM
| format to a more web-friendly .jpg. I get errors from
| ImageMagick for identify, convert and mogrify.
|
| I googled around through whatever bits of this mailing
| list it has archived and found a couple leads on
| compression :
|
| D:\temp>convert -list compression
| BZip
| Fax
| Group4
| JPEG
| JPEG2000
| Lossless
| LosslessJPEG
| LZW
| None
| RLE
| Zip
| RunlengthEncoded
|
| and I've mucked around thusly:
|
The above is a list of reconasied compression types, not what is
actually usable in the specific situation. It lets you get the spelling
correct (ignoring case, underscores and dashes).
Be warning that what compressions are valid often depend on the output
format being used. For example 'Lossless' compressions are usless if
you are not using the jp2 format which allows the use of lossless JPEG.
or using a JPEG compression for a GIF format.
If the format does not understand you will either get an error, or a
fallback to a default compression for that format.
Default JPEG only has JPEG as a compression, no others are valid.
If you want Lossless, you need the JPEG2000 library installed and IM
re-compiled to make use of that library.
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
"Better shut 'er down, Slim. She's pumpin' mud." - memorable error message!
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list