net.sf.jcgm.image.loader.cgm
Class ImageLoaderCGM
java.lang.Object
AbstractImageLoader
net.sf.jcgm.image.loader.cgm.ImageLoaderCGM
public class ImageLoaderCGM
- extends AbstractImageLoader
Implementation of an image loader for CGM files. The flavor we support here
is ImageFlavor#GRAPHICS2D
which allows us to draw the CGM file as
vector graphics into the PDF file generated by FOP.
- Since:
- Apr 14, 2009
- Version:
- $Id: ImageLoaderCGM.java 3 2009-10-16 08:51:15Z phica $
- Author:
- xphc (Philippe Cadé)
- See Also:
CGM
,
PreloaderCGM
,
xmlgraphics.apache.org
Field Summary |
protected static Log |
log
logging instance |
Method Summary |
ImageFlavor |
getTargetFlavor()
|
Image |
loadImage(ImageInfo info,
java.util.Map hints,
ImageSessionContext session)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static Log log
- logging instance
ImageLoaderCGM
public ImageLoaderCGM(ImageFlavor targetFlavor)
getTargetFlavor
public ImageFlavor getTargetFlavor()
loadImage
public Image loadImage(ImageInfo info,
java.util.Map hints,
ImageSessionContext session)
throws java.io.IOException
- Throws:
java.io.IOException
Part of the jcgm library http://jcgm.sourceforge.net/