Skip to main content

Format

The Format parameter controls how the image will be constrained within the provided size (width and height) values, in order to maintain the correct proportions.

NOTE: The Format parameter has no effect unless both width and height are specified.

enum Format {
GIF
PNG
PNG8
JPG
PJPG
BJPG
WEBP
WEBPLL
WEBPLY
MP4
}

Values

Format.GIF

Graphics Interchange Format

Format.PNG

Portable Network Graphics

Format.PNG8

Portable Network Graphics palette image with 256 colors and 8-bit transparency

Format.JPG

JPEG (also jpeg)

Format.PJPG

Progressive JPEG (also pjpeg)

Format.BJPG

Baseline JPEG (also bjpeg)

Format.WEBP

WebP

Format.WEBPLL

WebP (Lossless)

Format.WEBPLY

WebP (Lossy)

Format.MP4

MP4 (H.264)

Member Of

TransformationInput input