https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31016).
* Return correct offset for negative index for -fx option (reference
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31019).
+ * Fixed improper scaling of certain FITS images (reference
+ https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31028).
2016-12-05 7.0.3-9 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.3-9, GIT revision 19139:6fed3f1:20161205.
(void) SetImageColorspace(image,GRAYColorspace,exception);
if ((fits_info.min_data == 0.0) && (fits_info.max_data == 0.0))
{
- if (fits_info.zero == 0.0)
+ if ((fits_info.bits_per_pixel == -32) ||
+ (fits_info.bits_per_pixel == -64))
(void) GetFITSPixelExtrema(image,fits_info.bits_per_pixel,
&fits_info.min_data,&fits_info.max_data);
else