Example
Request an image so it can fit into a 200x200 rectangle; top-right align the image if it is not square. Any background area is filled with attribute::BkgColor
.
http:// *
Server*/myRootId/myImageId?wid=200&hei=200&align=1,-1
The same image, delivered at a fixed width of 200 pixels, but with a variable height to maintain the aspect ratio of the image. In this case, the returned image never has any background fill areas. In this case, align=
would have no effect at all.
http:// *
Server*/myRootId/myImageId?wid=200
See also
hei= , fit=, scl=, align=, attribute::DefaultPix, attribute::MaxPix