turcu gabri on wrote... | | Hello, | I am trying to convert a .fit image to .jpg/.gif (or any web friendly | format). When trying to convert I get a .jpg file as result but it does | not | resemble the original file (even if i try: convert 1.fit -quality 100 | 1.jpg). The original file is a black and white astronomy picture, the | jpg I | am getting is fully grey.
JPG images are lossy compressed even at 100% quality. That is they are distorted, especially on edges of solid color blocks. It was designed for real world images not diagrams after all. GIF is better for images with a small number of colors, including black and white. It has color limits and boolean transparency however. PNG is better for saving images but IE6 web browser can't handle it in general if it contains transparency. IE7 will be fine however. I suggest PNG, if posible otherwise use GIF if image is a pure black and white bitmap as you mentioned. See the top of IM Examples, Common File Formats http://www.cit.gu.edu.au/~anthony/graphics/imagick6/formats/#summary for a summery. | 1.fit FITS 100x100 PseudoClass 256c | ... That seems find, pure bitmap. use PNG or GIF not JPEG Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- The keyboard! How quaint. -- Montgomery Scott -- StarTrek IV ----------------------------------------------------------------------------- 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
