Options.defaults.imageParameters Class
advancedEditing
BooleanEnables advanced editing, the user can crop, set filters and manipulate the color of the image. This works only for png or jpeg images. If the original image has been edited via the image editor, the original image will be replaced by a PNG with 72DPI!
Default: false
filter
BooleanSets a filter on the image. Possible values: 'grayscale', 'sepia', 'sepia2' or any filter name from FPDFilters class.
Default: null
resizeToH
NumberResizes the uploaded image to this height. 0 means it will not be resized.
Default: 0
resizeToW
NumberResizes the uploaded image to this width. 0 means it will not be resized.
Default: 0
scaleMode
StringSet the scale mode when image is added into an upload zone or resizeToW/resizeToH properties are set. Possible values: 'fit', 'cover'
Default: 'fit'
uploadZone
BooleanIf true the image will be used as upload zone. That means the image is a clickable area in which the user can add different media types.
Default: false