# HG changeset patch # User robcast # Date 1057097542 -7200 # Node ID 737f5cd647e1d2cbf4de23dc54233d135bc56eae # Parent c36944be0b58bddadc1cb868701b6e6449e541c5 Docu for osize. diff -r c36944be0b58 -r 737f5cd647e1 servlet/doc/Scaler.html --- a/servlet/doc/Scaler.html Wed Jul 02 00:02:18 2003 +0200 +++ b/servlet/doc/Scaler.html Wed Jul 02 00:12:22 2003 +0200 @@ -58,7 +58,11 @@ clip: send the file in its original resolution, cropped to fit [dw,dh].
If none of these flags is set heuristics is used (send unzoomed GIF - as-is). + as-is).
+ osize: scale to original size based on the image resolution + (from the image metadata) and display resolution (from parameter + ddpi) +
  • errtxt: send error response as HTML.
    errimg: response as image (default).
  • @@ -99,6 +103,17 @@ green and blue are separated by slashes (for example 100/0/25). Default: 0/0/0 +
  • ddpi: resolution of client display for osize mode. + Either ddpi or ddpix and ddpiy must + be set to use osize mode.
  • + +
  • ddpix: resolution of client display in x direction for + osize mode.
  • + + +
  • ddpiy: resolution of client display in y direction for + osize mode.
  • + The image will be scaled equally in horizontal and vertical direction such that the resulting image does not exceed the rectangle [ww,wh].