Package org.apache.fop.render.ps
Interface PSImageHandler
- All Superinterfaces:
ImageHandler
,ImageHandlerBase
- All Known Implementing Classes:
PSImageHandlerGraphics2D
,PSImageHandlerRawCCITTFax
,PSImageHandlerRawJPEG
,PSImageHandlerRawPNG
,PSImageHandlerRenderedImage
Specialized image handler interface for PostScript output. Implementations can optionally
support creating PostScript forms. The implementation shall check the rendering context
to see if forms functionality is enabled in the
ImageHandler.isCompatible(org.apache.fop.render.RenderingContext, org.apache.xmlgraphics.image.loader.Image)
method.-
Method Summary
Modifier and TypeMethodDescriptionvoid
generateForm
(RenderingContext context, org.apache.xmlgraphics.image.loader.Image image, PSImageFormResource form) Generates a PostScript form for the givenImage
instance.Methods inherited from interface org.apache.fop.render.ImageHandler
handleImage, isCompatible
Methods inherited from interface org.apache.fop.render.ImageHandlerBase
getPriority, getSupportedImageClass, getSupportedImageFlavors
-
Method Details
-
generateForm
void generateForm(RenderingContext context, org.apache.xmlgraphics.image.loader.Image image, PSImageFormResource form) throws IOException Generates a PostScript form for the givenImage
instance.- Parameters:
context
- the rendering contextimage
- the image to be handledform
- the associated form resource- Throws:
IOException
- if an I/O error occurs
-