Mercurial > hg > digilib-old
comparison servlet/src/digilib/io/ImageFile.java @ 463:d76a9e3f1ec9
Servlet version 1.10b
- JAIDocuImage loads Flashpix
- refactored image detection code into DocuImage
- DocuImage has new methods identify() and getSupportedFormats()
author | robcast |
---|---|
date | Mon, 13 Feb 2006 20:57:18 +0100 |
parents | 90bab835fc25 |
children | 50f291d808b1 |
comparison
equal
deleted
inserted
replaced
462:03ff7238c9d4 | 463:d76a9e3f1ec9 |
---|---|
91 * Sets the imageSize. | 91 * Sets the imageSize. |
92 * @param imageSize The imageSize to set | 92 * @param imageSize The imageSize to set |
93 */ | 93 */ |
94 public void setSize(ImageSize imageSize) { | 94 public void setSize(ImageSize imageSize) { |
95 this.pixelSize = imageSize; | 95 this.pixelSize = imageSize; |
96 // pass on to parent | |
97 if (this.parent != null) { | |
98 this.parent.setAspect(imageSize); | |
99 } | |
96 } | 100 } |
97 | 101 |
98 /** | 102 /** |
99 * Sets the mimetype. | 103 * Sets the mimetype. |
100 * @param mimetype The mimetype to set | 104 * @param mimetype The mimetype to set |