+2010-12-07 6.6.6-4 Cristy <quetzlzacatenango@image...>
+ * Account for virtual canvas for the -flip / -flop options (reference
+ http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=17626).
+
2010-12-06 6.6.6-4 Anthony Thyssen <A.Thyssen@griffith...>
* Ordered Dithered handling of Alpha channel was incorrect - fixing
Bug was introduced v6.6.5-6
MagickOffsetType
progress;
+ RectangleInfo
+ page;
+
ssize_t
y;
*/
status=MagickTrue;
progress=0;
+ page=image->page;
image_view=AcquireCacheView(image);
flip_view=AcquireCacheView(flip_image);
#if defined(MAGICKCORE_OPENMP_SUPPORT)
flip_view=DestroyCacheView(flip_view);
image_view=DestroyCacheView(image_view);
flip_image->type=image->type;
+ if (page.width != 0)
+ page.x=(ssize_t) (page.width-flip_image->columns-page.x);
+ if (page.height != 0)
+ page.y=(ssize_t) (page.height-flip_image->rows-page.y);
+ flip_image->page=page;
if (status == MagickFalse)
flip_image=DestroyImage(flip_image);
return(flip_image);
MagickOffsetType
progress;
+ RectangleInfo
+ page;
+
ssize_t
y;
*/
status=MagickTrue;
progress=0;
+ page=image->page;
image_view=AcquireCacheView(image);
flop_view=AcquireCacheView(flop_image);
#if defined(MAGICKCORE_OPENMP_SUPPORT)
flop_view=DestroyCacheView(flop_view);
image_view=DestroyCacheView(image_view);
flop_image->type=image->type;
+ if (page.width != 0)
+ page.x=(ssize_t) (page.width-flop_image->columns-page.x);
+ if (page.height != 0)
+ page.y=(ssize_t) (page.height-flop_image->rows-page.y);
+ flop_image->page=page;
if (status == MagickFalse)
flop_image=DestroyImage(flop_image);
return(flop_image);