Skip to main content

ImageSize

ImageSize is used to separate images of different sizes based on customer specific needs. The size is relative and does not have to be related to the physical dimensions of the image. If you have differently sized images for a single use case, the size can indicate which one to use in different presentations of the image.

enum ImageSize {
THUMB
S
M
L
XL
ORIGINAL
UNDEFINED
}

Values

ImageSize.THUMB

Indicates the smallest image size and should be used for thumbnail purposes. Often a low resolution image.

ImageSize.S

A small image indicates that it is a proper image but not a thumbnail.

ImageSize.M

A medium image indicates that it is a general purpose image that can be useful in many circumstances. It is not high resolution and not large in size.

ImageSize.L

A large image should be used when the image quality matters and the resolution matters. It should be a good quality image.

ImageSize.XL

An extra large image should be considered only in full screen mode and other high resolution use cases. Should be a compressed image, but can have very large dimensions.

ImageSize.ORIGINAL

An original image is precisely that. The original image from a camera. It should not be used lightly and in most cases a XL image would be sufficient.

ImageSize.UNDEFINED

Should not be used. Should only be used when there is no need for providing the size or it is impossible to determine the size.

Member Of

ItemImage object