Skip to content

Enums

SomehowDigital\ImgProxy\Option

Options accept the value as a string as well as the enum, except ResizingType, which takes the enum only.

png, jpg, jpeg, jxl, webp, avif, gif, ico, svg, heic, bmp, tiff, mp4, best (Pro)

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

fit, fill, fill-down, force, auto

nearest, linear, cubic, lanczos2, lanczos3

no, ea, so, we, noea, nowe, soea, sowe, ce, re, ch (Pro)

no, ea, so, we, noea, nowe, soea, sowe, ce, fp, prop

none, md5, sha1, sha256, sha512