org.freehep.graphicsio.pdf
Class PDFImageDelayQueue
java.lang.Object
org.freehep.graphicsio.pdf.PDFImageDelayQueue
public class PDFImageDelayQueue
- extends 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
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(RenderedImage image,
Color bkg,
String writeAs)
processAll
public void processAll()
throws IOException
- Creates a stream for every delayed image that is not written yet.
- Throws:
IOException
addXObjects
public int addXObjects()
throws IOException
- Adds all names to the dictionary which should be the value of the
resources dicionrary's /XObject entry.
- Throws:
IOException
Copyright © 2012. All Rights Reserved.