link GraphQL Schema definition
- enum ImageFitEnum {
- # Resizes the image to fit within the width and height dimensions without cropping
- # or distorting the image, and the remaining space is filled with extended pixels
- # from the edge of the image. The resulting image will match the constraining
- # dimensions. The pixel extension is called an affine clamp, hence the value name,
- # "clamp".
- @deprecated( reason: "Deprecated from January 2021" )
- # Resizes the image to fit within the width and height boundaries without cropping
- # or distorting the image. The resulting image will match one of the constraining
- # dimensions, while the other dimension is altered to maintain the same aspect
- # ratio of the input image.
- # Resizes the image to fill the width and height dimensions and crops any excess
- # image data. The resulting image will match the width and height constraints
- # without distorting the image. It's used in conjunction with the the crop
- # parameter, which controls how the image is cropped. Both the w and h parameters
- # will also need to be set.
- # Finds the area containing all faces, or a specific face in an image, and scales
- # it to specified width and height dimensions. Can be used in conjunction with
- # faceindex to identify a specific face, as well as facepad to include additional
- # padded area around the face to zoom out from the immediate area around the
- # faces.
- @deprecated( reason: "Deprecated from January 2021" )
- # Resizes the image to fit within the requested width and height dimensions while
- # preserving the original aspect ratio and without discarding any original image
- # data. Excess space is filled with a solid color or blurred version of the image.
- # The resulting image exactly matches the requested dimensions.
- # Resizes the image to fit within the requested width and height dimensions while
- # preserving the original aspect ratio and without discarding any original image
- # data. If the requested width or height exceeds that of the original, the
- # original image remains the same size. The excess space is filled with a solid
- # color or blurred version of the image. The resulting image exactly matches the
- # requested dimensions.
- # Resizes the image to fit within the width and height dimensions without cropping
- # or distorting the image, but will not increase the size of the image if it is
- # smaller than the output size. The resulting image will maintain the same aspect
- # ratio of the input image.
- # Resizes and crops the image to match the aspect ratio of the requested width and
- # height. Will not exceed the original width and height of the image.
- # Scales the image to fit the constraining dimensions exactly. The resulting image
- # will fill the dimensions, and will not maintain the aspect ratio of the input
- # image.
- }