property[MagickPathExtent],
*value;
- register ssize_t
- i;
-
/*
Note spot names.
*/
if (option != (char *) NULL)
{
char
- *geometry;
-
- MagickStatusType
- flags;
+ *page_geometry;
- geometry=GetPageGeometry(option);
- flags=ParseMetaGeometry(geometry,&page.x,&page.y,&page.width,&page.height);
+ page_geometry=GetPageGeometry(option);
+ flags=ParseMetaGeometry(page_geometry,&page.x,&page.y,&page.width,
+ &page.height);
if (flags == NoValue)
{
(void) ThrowMagickException(exception,GetMagickModule(),OptionError,
-0.5);
page.height=(size_t) ceil((double) (page.height*image->resolution.y/
delta.y) -0.5);
- geometry=DestroyString(geometry);
+ page_geometry=DestroyString(page_geometry);
fitPage=MagickTrue;
}
(void) CloseBlob(image);
Image
*clone_image;
- register ssize_t
- i;
-
/*
Add place holder images to meet the subimage specification requirement.
*/
timestamp[MagickPathExtent],
xmp_profile[MagickPathExtent];
- size_t
- version;
-
/*
Write XMP object.
*/
if (LocaleNCompare(PhotoshopProfile,command,strlen(PhotoshopProfile)) == 0)
{
unsigned char
- *p;
+ *q;
/*
Read Photoshop profile.
profile=BlobToStringInfo((const void *) NULL,length);
if (profile != (StringInfo *) NULL)
{
- p=GetStringInfoDatum(profile);
+ q=GetStringInfoDatum(profile);
for (i=0; i < (ssize_t) length; i++)
- *p++=(unsigned char) ProfileInteger(image,hex_digits);
+ *q++=(unsigned char) ProfileInteger(image,hex_digits);
(void) SetImageProfile(image,"8bim",profile,exception);
profile=DestroyStringInfo(profile);
}
}
if (LocaleNCompare(BeginXMPPacket,command,strlen(BeginXMPPacket)) == 0)
{
- register size_t
- i;
-
/*
Read XMP profile.
*/
*value;
register char
- *p;
+ *q;
/*
Note spot names.
*/
(void) FormatLocaleString(property,MagickPathExtent,"ps:SpotColor-%.20g",
(double) (spotcolor++));
- for (p=command; *p != '\0'; p++)
- if (isspace((int) (unsigned char) *p) != 0)
+ for (q=command; *q != '\0'; q++)
+ if (isspace((int) (unsigned char) *q) != 0)
break;
- value=AcquireString(p);
+ value=AcquireString(q);
(void) SubstituteString(&value,"(","");
(void) SubstituteString(&value,")","");
(void) StripString(value);
if (option != (char *) NULL)
{
char
- *geometry;
-
- MagickStatusType
- flags;
+ *page_geometry;
- geometry=GetPageGeometry(option);
- flags=ParseMetaGeometry(geometry,&page.x,&page.y,&page.width,&page.height);
+ page_geometry=GetPageGeometry(option);
+ flags=ParseMetaGeometry(page_geometry,&page.x,&page.y,&page.width,
+ &page.height);
if (flags == NoValue)
{
(void) ThrowMagickException(exception,GetMagickModule(),OptionError,
-0.5);
page.height=(size_t) ceil((double) (page.height*image->resolution.y/
delta.y) -0.5);
- geometry=DestroyString(geometry);
+ page_geometry=DestroyString(page_geometry);
fitPage=MagickTrue;
}
(void) CloseBlob(image);
Image
*clone_image;
- register ssize_t
- i;
-
/*
Add place holder images to meet the subimage specification requirement.
*/