On Tue, 24 Feb 2009 11:15:08 -0800 Fred Weinhaus <[email protected]> wrote:
| >On Tue, Feb 24, 2009 at 12:45 PM, Fred Weinhaus | ><<mailto:[email protected]>[email protected]> 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 ) <[email protected]> ----------------------------------------------------------------------------- To fly or not to fly... There is no question! -- [email protected] ----------------------------------------------------------------------------- Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/ _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
