changeset 131:737f5cd647e1

Docu for osize.
author robcast
date Wed, 02 Jul 2003 00:12:22 +0200
parents c36944be0b58
children d111b3d57238
files servlet/doc/Scaler.html
diffstat 1 files changed, 16 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
       <b>clip</b>: send the file in its
       original resolution, cropped to fit <code>[dw,dh]</code>.<br> If
       none of these flags is set heuristics is used (send unzoomed GIF
-      as-is).</li>
+      as-is).<br>
+      <b>osize</b>: scale to original size based on the image resolution
+      (from the image metadata) and display resolution (from parameter 
+      <code>ddpi</code>)
+      </li>
       
       <li><b>errtxt</b>: send error response as HTML.<br>
       <b>errimg</b>: response as image (default).</li>
@@ -99,6 +103,17 @@
   green and blue are separated by slashes (for example
   100/0/25). Default: 0/0/0</li>
   
+  <li><b>ddpi</b>: resolution of client display for <code>osize</code> mode. 
+  Either <code>ddpi</code> or <code>ddpix</code> and <code>ddpiy</code> must
+  be set to use <code>osize</code> mode.</li>
+  
+  <li><b>ddpix</b>: resolution of client display in x direction for 
+  <code>osize</code> mode.</li>
+
+  
+  <li><b>ddpiy</b>: resolution of client display in y direction for 
+  <code>osize</code> mode.</li>
+  
 </ul>
 The image will be scaled equally in horizontal and vertical direction such that
 the resulting image does not exceed the rectangle <code>[ww,wh]</code>.