Resize the image.
geometry
Geometry string describing the transformation. See Chevalet::Filters for information on geometry strings.
Resize the image to twice its original size:
[{
"filter": "resize",
"params": { "geometry": "200%" }
}]
Fit the image into the given dimensions, preserving aspect ratio, but only if the original image is larger than either of the given measurements:
[{
"filter": "resize",
"params": { "geometry": "300x400>" }
}]