|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.icepdf.core.pobjects.graphics.ImageReference
org.icepdf.core.pobjects.graphics.CachedImageReference
org.icepdf.core.pobjects.graphics.SmoothScaledImageReference
public class SmoothScaledImageReference
The SmoothScaledImageReference scales large images using the bufferedImage.getScaledInstance() method for colour imges and the a custom trilinear scale for black and white images. The scaled instance uses a minimum of memory and can improve clarity of some CCITTFax images.
| Field Summary |
|---|
| Fields inherited from class org.icepdf.core.pobjects.graphics.ImageReference |
|---|
fillColor, futureTask, image, imageStream, reference, resources, useProxy |
| Constructor Summary | |
|---|---|
protected |
SmoothScaledImageReference(ImageStream imageStream,
java.awt.Color fillColor,
Resources resources)
|
| Method Summary | |
|---|---|
java.awt.image.BufferedImage |
call()
|
int |
getHeight()
|
int |
getWidth()
|
| Methods inherited from class org.icepdf.core.pobjects.graphics.CachedImageReference |
|---|
getImage |
| Methods inherited from class org.icepdf.core.pobjects.graphics.ImageReference |
|---|
createImage, drawImage, getImageStream, isImage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SmoothScaledImageReference(ImageStream imageStream,
java.awt.Color fillColor,
Resources resources)
| Method Detail |
|---|
public int getWidth()
getWidth in class ImageReferencepublic int getHeight()
getHeight in class ImageReferencepublic java.awt.image.BufferedImage call()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||