jpegSize 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 section-19e544e77d35478b98fe8666f27d6968

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

Default section-198b798ed187453197e0969c641d6fb5

0

Example section-46bf806fd3ef4875b7726df32b6f834d

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 section-98d472b39d6547969fce6dd86748c153

fmt= , attribute::JpegQuality

recommendation-more-help
a26166cd-f2f4-45ce-996d-96a0f0d6cf49