# HG changeset patch # User robcast # Date 1069773520 -3600 # Node ID 250f3b8762e443a9cb2f226eb630827eed3be486 # Parent 31367c3c8202f7ae0bf442c5cae019386f6f9070 updated Scaler docu diff -r 31367c3c8202 -r 250f3b8762e4 servlet/doc/Scaler.html --- a/servlet/doc/Scaler.html Fri Nov 21 00:30:04 2003 +0100 +++ b/servlet/doc/Scaler.html Tue Nov 25 16:18:40 2003 +0100 @@ -1,8 +1,9 @@ - - + + + Scaler servlet - +

Scaler

@@ -14,7 +15,7 @@ Scaler/request_path/?param1=value1¶m2=value2&... Unknown parameters will be silently ignored.

-

Recognised parameters: +

Recognised parameters:

-The image will be scaled equally in horizontal and vertical direction such that -the resulting image does not exceed the rectangle [ww,wh]. -

+ +

The image to be loaded can be specified by the + request_path (deprecated) or the fn + (preferred) parameter and the optional index pn

+ + +

The image will be scaled equally in horizontal and vertical + direction such that the resulting image does not exceed the rectangle + [dw,dh]. If only either height or width is given the + image is scaled to match only the given parameter. The size of the + resulting image in the other parameter is determined by the aspect + ratio of the image. +

- +