}
(void) SetImageProgress(image,RotateImageTag,(MagickOffsetType)
image->rows-1,image->rows);
- Swap(page.x,page.y);
if (page.width != 0)
page.x=(ssize_t) (page.width-rotate_image->columns-page.x);
+ if (page.height != 0)
+ page.y=(ssize_t) (page.height-rotate_image->rows-page.y);
break;
}
case 3:
image->rows-1,image->rows);
Swap(page.width,page.height);
Swap(page.x,page.y);
- if (page.width != 0)
- page.x=(ssize_t) (page.width-rotate_image->columns-page.x);
+ if (page.height != 0)
+ page.y=(ssize_t) (page.height-rotate_image->rows-page.y);
break;
}
default: