Enums
SomehowDigital\ImgProxy\Option
Options accept the value as a string as well as the enum, except ResizingType, which takes the enum only.
FormatEnum
Section titled “FormatEnum”png, jpg, jpeg, jxl, webp, avif, gif, ico, svg, heic, bmp, tiff, mp4, best (Pro)
GravityEnum
Section titled “GravityEnum”| Case | Value |
|---|---|
NORTH, EAST, SOUTH, WEST |
no, ea, so, we |
NORTH_EAST, NORTH_WEST, SOUTH_EAST, SOUTH_WEST |
noea, nowe, soea, sowe |
CENTER |
ce |
SMART |
sm |
FOCUS_POINT |
fp |
OBJECT (Pro) |
obj |
OBJECT_WEIGHT (Pro) |
objw |
ResizingTypeEnum
Section titled “ResizingTypeEnum”fit, fill, fill-down, force, auto
ResizingAlgorithmEnum
Section titled “ResizingAlgorithmEnum”nearest, linear, cubic, lanczos2, lanczos3
WatermarkPositionEnum
Section titled “WatermarkPositionEnum”no, ea, so, we, noea, nowe, soea, sowe, ce, re, ch (Pro)
ObjectsPositionTypeEnum
Section titled “ObjectsPositionTypeEnum”no, ea, so, we, noea, nowe, soea, sowe, ce, fp, prop
HashsumTypeEnum
Section titled “HashsumTypeEnum”none, md5, sha1, sha256, sha512