December 13, 2021
-/crop/:aspect_ratio/
and -/crop/:tag/
operations
{image processing}
Now you can crop images by ratio, by an object, or combine these features together.
Crop by aspect ratio crops the image to the specified aspect ratio, cutting off
the rest of the image. Crop by object crops the image to the object specified by
the :tag
parameter (possible values: face
or image
). The found object fits
into the given aspect ratio if :aspect_ratio
is specified.
https://uploadcare.com/docs/transformations/image/resize-crop/#operation-crop-aspect-ratio https://uploadcare.com/docs/transformations/image/resize-crop/#operation-crop-tags
-/zoom_objects/
operation
{image processing}
As a result of the operation, the object’s size in the image will change. The
resolution of the image after the operation will remain the same. For example,
an object in an image with applied operation -/zoom_objects/100/
is the object
that occupies the maximum area of this image. It is best suited for images with
solid or uniform backgrounds.
https://uploadcare.com/docs/transformations/image/resize-crop/#operation-zoom-objects
Geometry operations for SVG images
{image processing}
Geometric operations (preview
, resize
, crop
, scale_crop
) now change SVG
attributes and work as expected.
https://uploadcare.com/docs/transformations/image/#svg-files