Image Resizer : API Documentation

Type CropMode

Namespace ImageResizer

Parent Enum

Public fields

int value__

return int

CropMode None

Default. No cropping - uses letterboxing if strecth=proportionally and both width and height are specified.
return CropMode

CropMode Auto

[Deprecated] Use Mode=Crop. Minimally crops to preserve aspect ratio if stretch=proportionally.
return CropMode

CropMode Custom

Crops using the custom crop rectangle. Letterboxes if stretch=proportionally and both widht and height are specified.
return CropMode