comparison servlet/doc/Scaler.html @ 182:31367c3c8202

Servlet version 1.18b1 - new transfer mode "rawfile" with mime-type application/octet-stream - finally proper logging with Log4J! - therefore a lot of debugging-prints changed - the Util class is now useless - ServletOps and FileOps are now purely static
author robcast
date Fri, 21 Nov 2003 00:30:04 +0100
parents 3258490649b5
children 250f3b8762e4
comparison
equal deleted inserted replaced
181:afe7ff98bb71 182:31367c3c8202
56 <b>file</b>: send the file as-is (may 56 <b>file</b>: send the file as-is (may
57 be very large and all sorts of image types!). If configuration 57 be very large and all sorts of image types!). If configuration
58 doesn't allow sending files 58 doesn't allow sending files
59 (<code>sendfile-allowed=false</code>) revert to 59 (<code>sendfile-allowed=false</code>) revert to
60 <code>clip</code>.<br> 60 <code>clip</code>.<br>
61
62 <b>rawfile</b>: send the file as-is with a mime-type of
63 <code>application/octet-stream</code> so it can be downloaded with
64 the browser.<br>
61 65
62 <b>clip</b>: send the file in its 66 <b>clip</b>: send the file in its
63 original resolution, cropped to fit <code>[dw,dh]</code>.<br> If 67 original resolution, cropped to fit <code>[dw,dh]</code>.<br> If
64 none of these flags is set heuristics is used (send unzoomed GIF 68 none of these flags is set heuristics is used (send unzoomed GIF
65 as-is).<br> 69 as-is).<br>