AttachmentImageFileDataResizingTypeEnum

View normalized Markdown

Defines how imgproxy will resize the source image.

graphql
enum AttachmentImageFileDataResizingTypeEnum {
  auto
  fill
  fit
}

Values

AttachmentImageFileDataResizingTypeEnum.auto

If both source and resulting dimensions have the same orientation (portrait or landscape), imgproxy will use fill. Otherwise, it will use fit.

AttachmentImageFileDataResizingTypeEnum.fill

Resizes the image while keeping aspect ratio to fill given size and cropping projecting parts.

AttachmentImageFileDataResizingTypeEnum.fit

Resizes the image while keeping aspect ratio to fit given size.

Ready to Get Started?

Book a free demo or reach out — we’d love to hear from you.