if (status == MagickFalse)
continue;
- p=GetCacheViewVirtualPixels(texture_view,0,y % texture->rows,
- texture->columns,1,exception);
+ p=GetCacheViewVirtualPixels(texture_view,texture->tile_offset.x,(y+
+ texture->tile_offset.y) % texture->rows,texture->columns,1,exception);
q=QueueCacheViewAuthenticPixels(image_view,0,y,image->columns,1,
exception);
if ((p == (const PixelPacket *) NULL) || (q == (PixelPacket *) NULL))
*/
MagickExport Image *AcquireImage(const ImageInfo *image_info)
{
+ const char
+ *option;
+
Image
*image;
if (image_info->depth != 0)
image->depth=image_info->depth;
image->dither=image_info->dither;
+ option=GetImageOption(image_info,"tile-offset");
+ if (option != (const char *) NULL)
+ {
+ char
+ *geometry;
+
+ geometry=GetPageGeometry(option);
+ flags=ParseAbsoluteGeometry(geometry,&image->tile_offset);
+ geometry=DestroyString(geometry);
+ }
image->background_color=image_info->background_color;
image->border_color=image_info->border_color;
image->matte_color=image_info->matte_color;