|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.quadrique.jbuildingblocks.core.image.JbbImageHandler
public class JbbImageHandler
| Method Summary | |
|---|---|
org.apache.xmlgraphics.image.loader.Image |
convertImageToBmp(String uri)
returns the converted bitmap image. |
org.apache.xmlgraphics.image.loader.Image |
getImage(String uri,
org.apache.xmlgraphics.image.loader.ImageFlavor flavor)
load an image in a given flavor. |
org.apache.xmlgraphics.image.loader.ImageInfo |
getImageInfo(String uri)
returns ImageInfo object. |
static JbbImageHandler |
newInstance()
|
void |
saveAs(BufferedImage image,
String outputFile,
String format)
use it to convert bmp to PNG. |
void |
saveAsJpeg(BufferedImage image,
String outputFile)
write to Jpeg. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static JbbImageHandler newInstance()
public org.apache.xmlgraphics.image.loader.ImageInfo getImageInfo(String uri)
throws Exception
uri -
Exception
public org.apache.xmlgraphics.image.loader.Image getImage(String uri,
org.apache.xmlgraphics.image.loader.ImageFlavor flavor)
throws Exception
uri - flavor -
Exception
public org.apache.xmlgraphics.image.loader.Image convertImageToBmp(String uri)
throws Exception
uri -
Exception
public void saveAs(BufferedImage image,
String outputFile,
String format)
throws Exception
uri -
Exception
public void saveAsJpeg(BufferedImage image,
String outputFile)
throws Exception
uri -
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||