# HG changeset patch # User robcast # Date 1069773520 -3600 # Node ID 27f8f247c36171afc623fa54df09497147513145 # Parent 8ae28f5cdbfd9b1eadb361d0cdef3574ee25734a updated Scaler docu diff -r 8ae28f5cdbfd -r 27f8f247c361 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. +

- +