Homepage

VersionResizeInput

Last edit: Oct 26, 2022

No description

type VersionResizeInput {
  background: CssColor
  fit: ImageResizeFit
  height: Int
  position: ImageResizePosition
  width: Int
  without_enlargement: Boolean
}

Fields

background (CssColor)

background color when using a fit of containDefault: #000000

fit (ImageResizeFit)

height (Int)

max height of an image. If left undefined, will depend on other parameters to determine size (like: width)

position (ImageResizePosition)

position to use when fit is cover or contain

width (Int)

max width of an image. If left undefined, will depend on other parameters to determine size (like: height)

without_enlargement (Boolean)

do not enlarge if the width or height are already less than the specified dimensions

Questions?

We are always happy to help with any questions you may have.

contact us