+2010-10-14 6.6.5-1 Cristy <quetzlzacatenango@image...>
+ * Ignore PS bounding box offsets if -page is set.
+
2010-10-12 6.6.5-0 Anthony Thyssen <A.Thyssen@griffith...>
* Added "filter:sigma" expert setting defining the 'sigma' for the Gaussian
filter only. This is similar in action to 'blur' but only for Gaussians,
geometry[MaxTextExtent],
input_filename[MaxTextExtent],
options[MaxTextExtent],
- postscript_filename[MaxTextExtent],
- translate_geometry[MaxTextExtent];
+ postscript_filename[MaxTextExtent];
const char
*option;
"dup wcheck {3 1 roll put} {pop def} ifelse} {def} ifelse\n"
"<</UseCIEColor true>>setpagedevice\n",MaxTextExtent);
count=write(file,command,(unsigned int) strlen(command));
- (void) FormatMagickString(translate_geometry,MaxTextExtent,
- "%g %g translate\n",-bounds.x1,-bounds.y1);
- count=write(file,translate_geometry,(unsigned int)
- strlen(translate_geometry));
+ if (image_info->page == (char *) NULL)
+ {
+ char
+ translate_geometry[MaxTextExtent];
+
+ (void) FormatMagickString(translate_geometry,MaxTextExtent,
+ "%g %g translate\n",-bounds.x1,-bounds.y1);
+ count=write(file,translate_geometry,(unsigned int)
+ strlen(translate_geometry));
+ }
file=close(file)-1;
/*
Render Postscript with the Ghostscript delegate.