Mercurial > hg > digilib-old
comparison servlet/src/digilib/io/ImageFile.java @ 295:90bab835fc25
Servlet version 1.5.0b -- the beginning of the next generation :-)
- code restructuring to improve scaleability
- new Initialiser servlet that must be run first
- image transformation work moved to DigilibImageWorker class
- Maximum number of concurrent threads limited by Semaphore
- old JIMI toolkit implementation removed
author | robcast |
---|---|
date | Sun, 24 Oct 2004 20:23:50 +0200 |
parents | c633e97cac12 |
children | d76a9e3f1ec9 |
comparison
equal
deleted
inserted
replaced
294:5b4fbec16a2c | 295:90bab835fc25 |
---|---|
127 | 127 |
128 /** Returns the aspect ratio of the image (width/height). | 128 /** Returns the aspect ratio of the image (width/height). |
129 * | 129 * |
130 * @return | 130 * @return |
131 */ | 131 */ |
132 public double getAspect() { | 132 public float getAspect() { |
133 return (pixelSize != null) ? pixelSize.getAspect() : 0; | 133 return (pixelSize != null) ? pixelSize.getAspect() : 0; |
134 } | 134 } |
135 | 135 |
136 } | 136 } |