Class DefaultPageProcessor

java.lang.Object
com.openhtmltopdf.java2d.api.DefaultPageProcessor
All Implemented Interfaces:
FSPageProcessor

public class DefaultPageProcessor
extends Object
implements FSPageProcessor
  • Constructor Details

    • DefaultPageProcessor

      public DefaultPageProcessor​(FSPageOutputStreamSupplier osFactory, int imageType, String imageFormat)
      Creates a page processor which saves each page as an image.
      Parameters:
      osFactory - must supply an output stream for each page. The os will be closed by the page processor.
      imageType - must be a constant from the BufferedImage class.
      imageFormat - must be a format such as png or jpeg
  • Method Details