ENUM

AttachmentImageFileDataResizingTypeEnum

Defines how imgproxy will resize the source image.

link GraphQL Schema definition

  • enum AttachmentImageFileDataResizingTypeEnum {
  • # Resizes the image while keeping aspect ratio to fill given size and cropping
  • # projecting parts.
  • fill
  • # Resizes the image while keeping aspect ratio to fit given size.
  • fit
  • # If both source and resulting dimensions have the same orientation (portrait or
  • # landscape), imgproxy will use fill. Otherwise, it will use fit.
  • auto
  • }