CrImage::Util::ThumbnailMode
Inherits Enum / Comparable / Value / Object
Thumbnail generation mode.
Controls how the image is resized to fit target dimensions:
Fit: Scale to fit within bounds, preserve aspect ratio (letterbox/pillarbox)Fill: Scale to fill bounds completely, crop excess (no empty space)Stretch: Stretch to exact dimensions, ignore aspect ratio
Constants
Fit = 0
Fill = 1
Stretch = 2