public class CachedImage
extends com.pd4ml.util.Base
Modifier and Type | Class and Description |
---|---|
static class |
CachedImage.ImageType |
Modifier and Type | Field and Description |
---|---|
String |
colorspace |
boolean |
embeddable |
boolean |
grayscale |
boolean |
invert |
JpegParser |
jpegParser |
boolean |
translucent |
boolean |
transparent |
CachedImage.ImageType |
type |
Constructor and Description |
---|
CachedImage(com.pd4ml.cache.CachedItem item) |
CachedImage(Image img,
String id) |
Modifier and Type | Method and Description |
---|---|
void |
clean() |
void |
flush() |
Image |
getAwtImage() |
int |
getBitDepth() |
byte[] |
getBytes() |
byte[] |
getBytesRaw() |
com.pd4ml.cache.CachedItem |
getCachedItem() |
int |
getColors() |
byte[] |
getColorspaceBytes() |
String |
getColorspaceName() |
int |
getHeight() |
ICC_Profile |
getICCprofile() |
CachedImage.ImageType |
getType() |
String |
getUri() |
int |
getWidth() |
boolean |
isEmbeddable() |
boolean |
isGrayscale() |
boolean |
isInvert() |
boolean |
notFound() |
public JpegParser jpegParser
public CachedImage.ImageType type
public boolean embeddable
public boolean transparent
public boolean translucent
public boolean invert
public boolean grayscale
public String colorspace
public CachedImage(com.pd4ml.cache.CachedItem item) throws IOException
IOException
public void clean()
public boolean notFound() throws ForcedTerminationException
ForcedTerminationException
public CachedImage.ImageType getType()
public int getWidth()
public int getHeight()
public String getUri()
public Image getAwtImage() throws ForcedTerminationException
ForcedTerminationException
public com.pd4ml.cache.CachedItem getCachedItem()
public boolean isEmbeddable()
public boolean isGrayscale()
public byte[] getBytesRaw() throws ForcedTerminationException
ForcedTerminationException
public byte[] getBytes() throws ForcedTerminationException
ForcedTerminationException
public void flush()
public ICC_Profile getICCprofile()
public int getBitDepth()
public int getColors()
public boolean isInvert()
public String getColorspaceName()
public byte[] getColorspaceBytes()
Revision 4.0.15 / 20220727-0149