org.mycore.services.imaging
Class MCRImgService
java.lang.Object
org.mycore.services.imaging.MCRImgService
public class MCRImgService
- extends Object
|
Method Summary |
void |
getImage(MCRFile image,
int xTopPos,
int yTopPos,
int boundWidth,
int boundHeight,
float scaleFactor,
OutputStream output)
|
void |
getImage(MCRFile image,
int xTopPos,
int yTopPos,
int boundWidth,
int boundHeight,
OutputStream output)
|
void |
getImage(MCRFile image,
int newWidth,
int newHeight,
OutputStream output,
MCRImgService.ScaleMode scaleMode)
|
float |
getScaleFactor()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THUMBNAIL
public final int THUMBNAIL
- See Also:
- Constant Field Values
IMAGE
public final int IMAGE
- See Also:
- Constant Field Values
scaleFactor
protected float scaleFactor
USE_CACHE
protected boolean USE_CACHE
format
protected int format
MCRImgService
public MCRImgService()
getImage
public void getImage(MCRFile image,
int newWidth,
int newHeight,
OutputStream output,
MCRImgService.ScaleMode scaleMode)
throws IOException
- Throws:
IOException
getImage
public void getImage(MCRFile image,
int xTopPos,
int yTopPos,
int boundWidth,
int boundHeight,
OutputStream output)
throws IOException
- Throws:
IOException
getImage
public void getImage(MCRFile image,
int xTopPos,
int yTopPos,
int boundWidth,
int boundHeight,
float scaleFactor,
OutputStream output)
throws IOException
- Throws:
IOException
getScaleFactor
public float getScaleFactor()