jpegSize

Jpeg Size in KiloBytes. Specifies the maximum size of the JPEG response in kilobytes.

jpegSize= *size*

size

Size in kilobytes.

If this is set to a positive value, and if the JPEG response with the specified JPEG quality does not exceed this value, that image is returned as the response. Otherwise, the JPEG quality decreases until it either produces an image which fits in to the specified size or until it determines it cannot fit. In the latter case, the request fails with an error.

A value of 0 means that the response is not constrained by size.

Negative values are not allowed.

Properties

Request attribute. Applies regardless of current layer setting. Ignored if the output image format is not JPEG.

Default

0

Example

Guarantee size is not too large for delivering to a device with limited memory:

http://server/myRoodId/myImageId?qlt=60&wid=300&jpegSize=10

See also

fmt= , attribute::JpegQuality

On this page

Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now