Skip to main content

ImageTransformMode

Specifies the way in which an asset preview image will be resized to fit in the proscribed dimensions:

  • crop: crops the image to cover both provided dimensions
  • resize: Preserving aspect ratio, resizes the image to be as large as possible while ensuring its dimensions are less than or equal to both those specified.
Signature
Was this chapter helpful?
Report Issue
Edited Feb 23, 2026ยทEdit this page