* Respect -compose option for the montage utility (bug report by Anthony).
* A 256 column gradient produces a 256 color GIF image (bug report by
Anthony).
+ * Register / unregister CALS format in static.c (reference
+ http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=16103).
2010-04-17 6.6.1-5 Cristy <quetzlzacatenango@image...>
* Only write one ICC profile to PSD image.
v;
gamma=0.0;
- i=(long) ceil(width*QuantumScale*PixelIntensity(r)-0.5);
+ i=(long) ceil((double) width*QuantumScale*PixelIntensity(r)-0.5);
if (i < 0)
i=0;
else
v;
gamma=0.0;
- i=(long) ceil(width*(QuantumRange-QuantumScale*PixelIntensity(r))-0.5);
+ i=(long) ceil((double) width*(QuantumRange-QuantumScale*
+ PixelIntensity(r))-0.5);
if (i < 0)
i=0;
else
point.y=(double) width*cos(DegreesToRadians(angle));
for (i=0; i < (long) width; i++)
{
- offset[i].x=(long) ceil((i*point.y)/hypot(point.x,point.y)-0.5);
- offset[i].y=(long) ceil((i*point.x)/hypot(point.x,point.y)-0.5);
+ offset[i].x=(long) ceil((double) (i*point.y)/hypot(point.x,point.y)-0.5);
+ offset[i].y=(long) ceil((double) (i*point.x)/hypot(point.x,point.y)-0.5);
}
/*
Motion blur image.
{
if (units == PixelsPerInchResolution)
{
- image->x_resolution=(unsigned long) (100.0*2.54*
- image->x_resolution+0.5)/100.0;
- image->y_resolution=(unsigned long) (100.0*2.54*
- image->y_resolution+0.5)/100.0;
+ image->x_resolution=(double) ((unsigned long) (100.0*2.54*
+ image->x_resolution+0.5))/100.0;
+ image->y_resolution=(double) ((unsigned long) (100.0*2.54*
+ image->y_resolution+0.5))/100.0;
}
break;
}
(void) RegisterARTImage();
(void) RegisterAVSImage();
(void) RegisterBMPImage();
+ (void) RegisterCALSImage();
(void) RegisterCAPTIONImage();
(void) RegisterCINImage();
(void) RegisterCIPImage();
UnregisterAVSImage();
UnregisterBMPImage();
UnregisterBRAILLEImage();
+ UnregisterCALSImage();
UnregisterCAPTIONImage();
UnregisterCINImage();
UnregisterCIPImage();
RegisterBIEImage(void),
RegisterBMPImage(void),
RegisterBRAILLEImage(void),
+ RegisterCALSImage(void),
RegisterCAPTIONImage(void),
RegisterCINImage(void),
RegisterCIPImage(void),
UnregisterBIEImage(void),
UnregisterBMPImage(void),
UnregisterBRAILLEImage(void),
+ UnregisterCALSImage(void),
UnregisterCAPTIONImage(void),
UnregisterCINImage(void),
UnregisterCIPImage(void),