|
|
||
|
|
ImageCrop |
| ImageCrop[image] crops image by removing borders of uniform color. |
| ImageCrop[image, {w, h)] crops image to pixel width w and pixel height h. |
| ImageCrop[image, size] crops image based on the size specification size. |
| ImageCrop[image, size, spec] crops image by removing pixels from sides specified by spec. |
| {w,h} | particular width and height | |
| w | width w; height based on aspect ratio | |
| {s} | maximum width or height s | |
| {{wmax},{hmax}} | width and height maximums | |
| {{wmin,wmax},{hmin,hmax}} | width and height ranges |
| side | crop on the specified side; center otherwise | |
| {side1,side2} | crop on the specified sides | |
| {ax,ay} | assign a fraction of cropping to each side |
| AspectRatio | Automatic | ratio of height to width for the final image | |
| Padding | Black | padding to use if necessary |
| Automatic | use the aspect ratio of the original image | |
| r | use aspect ratio r |