org.freehep.graphicsio.pdf
Class PDFImageDelayQueue
java.lang.Object
org.freehep.graphicsio.pdf.PDFImageDelayQueue
public class PDFImageDelayQueue
- extends java.lang.Object
Delay Image objects for writing XObjects to the pdf file when the
pageStream is complete. Caches identical images to only write them once.
- Version:
- $Id: PDFImageDelayQueue.java 10270 2007-01-09 18:18:57Z duns $
- Author:
- Simon Fischer, Mark Donszelmann
Method Summary |
int |
addXObjects()
Adds all names to the dictionary which should be the value of the
resources dicionrary's /XObject entry. |
PDFName |
delayImage(java.awt.image.RenderedImage image,
java.awt.Color bkg,
java.lang.String writeAs)
|
void |
processAll()
Creates a stream for every delayed image that is not written yet. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDFImageDelayQueue
public PDFImageDelayQueue(PDFWriter pdf)
delayImage
public PDFName delayImage(java.awt.image.RenderedImage image,
java.awt.Color bkg,
java.lang.String writeAs)
processAll
public void processAll()
throws java.io.IOException
- Creates a stream for every delayed image that is not written yet.
- Throws:
java.io.IOException
addXObjects
public int addXObjects()
throws java.io.IOException
- Adds all names to the dictionary which should be the value of the
resources dicionrary's /XObject entry.
- Throws:
java.io.IOException
Copyright © 2000-2007 FreeHEP. All Rights Reserved.