lresize (liquid resize)
This command resize the image with the Seam Carving algorithm, keeping focus on main subjects. Note some parts of the image could be distorted.
parameters
target size: size (dimension values) of the new image (width and height). Default is size of the image.
JSON object properties
width: width of the new image
height: height of the new image
simplified syntax parameters
prefix w: the width of the target image
prefix h: the height of the target image
array type parameters
The possible arrays are:
[width] (height is equal to width)
[width, height]
string or number type parameter
The value is the width and the height.
Example
{
"lresize":["proportional","50%"]
}
Â
Madivaru finolhu, Maldives: W320×H400 |
Â
Madivaru finolhu, Maldives: W160×H200 |
Simplified syntax: w_proportional,h_50p,c_lresize
The same with resize command:
Madivaru finolhu, Maldives: W160×H200 |
Simplified syntax: w_proportional,h_50p,c_resize