Trim left edge.
*/
count.left++;
- width=image->columns-count.left-count.right;
+ width--;
edge.left=GetEdgeBlendFactor(image,image_view,NorthWestGravity,1,height,
(ssize_t) count.left,(ssize_t) count.top,exception);
edge.top=GetEdgeBlendFactor(image,image_view,NorthWestGravity,width,1,
Trim right edge.
*/
count.right++;
- width=image->columns-count.left-count.right;
+ width--;
edge.right=GetEdgeBlendFactor(image,image_view,NorthEastGravity,1,
height,(ssize_t) count.right,(ssize_t) count.top,exception);
edge.top=GetEdgeBlendFactor(image,image_view,NorthWestGravity,width,1,
Trim top edge.
*/
count.top++;
- height=image->rows-count.top-count.bottom;
+ height--;
edge.left=GetEdgeBlendFactor(image,image_view,NorthWestGravity,1,height,
(ssize_t) count.left,(ssize_t) count.top,exception);
edge.right=GetEdgeBlendFactor(image,image_view,NorthEastGravity,1,
Trim bottom edge.
*/
count.bottom++;
- height=image->rows-count.top-count.bottom;
+ height--;
edge.left=GetEdgeBlendFactor(image,image_view,NorthWestGravity,1,height,
(ssize_t) count.left,(ssize_t) count.top,exception);
edge.right=GetEdgeBlendFactor(image,image_view,NorthEastGravity,1,