-2009-11-19 6.5.7-10 Cristy <quetzlzacatenango@image...>
+2009-11-25 6.5.8-1 Jee Teck <jee.teck@cteca...>
+ * The mogridy program +opaque option now recognizes its required argument.
+
+2009-11-19 6.5.8-0 Cristy <quetzlzacatenango@image...>
* Add magick/morphlogy.{c,h} source templates.
* Sync image option when reading MPR images.
* Optimize ping for SVG images.
flags=ParseGravityGeometry(image,
argument_list[0].string_reference,&geometry,exception);
- if ((geometry.width != 0) || (geometry.height != 0))
- {
- geometry.x=(-geometry.x);
- geometry.y=(-geometry.y);
- }
+ if (geometry.width == 0)
+ geometry.width=image->columns;
+ if (geometry.height == 0)
+ geometry.height=image->rows;
+ geometry.x=(-geometry.x);
+ geometry.y=(-geometry.y);
}
if (attribute_flag[1] != 0)
geometry.width=argument_list[1].long_reference;
*/
(void) SyncImageSettings(image_info,*image);
flags=ParseGravityGeometry(*image,argv[i+1],&geometry,exception);
- if ((geometry.width == 0) && (geometry.height == 0))
- break;
+ if (geometry.width == 0)
+ geometry.width=image->columns;
+ if (geometry.height == 0)
+ geometry.height=image->rows;
geometry.x=(-geometry.x);
geometry.y=(-geometry.y);
extent_image=ExtentImage(*image,&geometry,exception);
{
if (LocaleCompare("opaque",option+1) == 0)
{
- if (*option == '+')
- break;
i++;
if (i == (long) argc)
ThrowMogrifyException(OptionError,"MissingArgument",option);