[magick-users] Help regarding converting 16 bit unsigned fits image to bmp
Anthony Thyssen
A.Thyssen at griffith.edu.au
Wed Feb 25 00:47:36 UTC 2009
On Tue, 24 Feb 2009 11:15:08 -0800
Fred Weinhaus <fmw at alink.net> wrote:
| >On Tue, Feb 24, 2009 at 12:45 PM, Fred Weinhaus
| ><<mailto:fmw at alink.net>fmw at alink.net> wrote:
| >
| >see
| >
| ><http://www.imagemagick.org/Usage/basics/#cmdline>http://www.imagemagick.org/Usage/basics/#cmdline
| ><http://www.imagemagick.org/Usage/formats/#bmp>http://www.imagemagick.org/Usage/formats/#bmp
| >
| >try adding -type truecolor (also possibly -colorspace gray) after the
| >input image
| >
| >
| >
| >>Hello,
| >>
| >>I have been trying to convert a 16 bit unsigned type fits image to bmp image
| >>but it does not give the expected output. The input fits image is grayscale
| >>and when I see the output , most of the pixels are black. What is the right
| >>way to do the conversion?
| >>
| >>$convert -size 1536x1024 -depth 16 <fits_file_name> <bmp_file_name>;
| >>--
You may like to try adding color profiles to define the colorspace in TIFF
and PNG formats.
http://www.imagemagick.org/Usage/formats/#color_profile
-colorspace is used to define how the image is stored in memory for
image processing.
-type is a low level output format type for the image,
-profile is for higher level color control of image color handling
and other special feature handling, in advanced image file formats
line JPEG, TIFF, PNG
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
To fly or not to fly... There is no question! -- rodbuggy at aol.com
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list