Reply image width. Specifies scaling of the rendered image so that the reply image is no taller than the specified value, while maintaining the image’s aspect ratio.

wid= *val*


Image width in pixels (int greater than 0).

The image is not padded if both wid= and hei= is specified and wid/ hei is different than the aspect ratio of the image.

wid= and hei= work together to define the size of the image that is returned by the server. If scl= comes after wid= or hei= in the URL, it cancels those commands and scl= defines the size of the image returned by the server.

However, if wid= or hei= comes after scl= in the URL, they cancel scl= and wid=/ hei= define the size of the image returned by the server.


An error is returned if the calculated or default reply image size is larger than attribute::MaxPix.


May occur anywhere within the request. Resizing the image with wid=, hei=, or scl= does not change the print resolution value embedded in the response image. Ignored if scl= occurs after wid= or hei= in the command sequence.


If neither wid=, hei=, nor scl= are specified, the reply image is scaled to fit within the size defined by attribute::DefaultPix. If attribute::DefaultPix is empty, the reply image will have the same size as the vignette’s view image.

See also

attribute::DefaultPix , attribue::MaxPix, hei=, scl=, resMode=

On this page