Table of Contents ▸ List of Commands ▸ Geometry Manipulation ▸ crop | ◀ columns | elevate ▶ |
crop | Built-in command |
Arguments:
- x0[%],x1[%],_boundary_conditions or
- x0[%],y0[%],x1[%],y1[%],_boundary_conditions or
- x0[%],y0[%],z0[%],x1[%],y1[%],z1[%],_boundary_conditions or
- x0[%],y0[%],z0[%],c0[%],x1[%],y1[%],z1[%],c1[%],_boundary_conditions
Description:
Crop selected images with specified region coordinates.(equivalent to shortcut command z).
boundary_conditions can be { 0:Dirichlet | 1:Neumann | 2:Periodic | 3:Mirror }.
Default values:
boundary_conditions=0.
Examples of use:
• Example #1
image.jpg +crop -230,-230,280,280,1 crop[0] -230,-230,280,280,0
• Example #2
image.jpg crop 25%,25%,75%,75%
