Class PDFThumbnailer

  • All Implemented Interfaces:
    Thumbnailer

    public class PDFThumbnailer
    extends Object
    implements Thumbnailer
    A Thumbnailer for Portable Document Formatted (PDF) documents. These documents will often have a .pdf file extension. PDFThumbnailer attempts to find the first image in the format that actually fits on a page, and returns that scaled image. This can be confusing if you attempt to thumbnail a poorly built PDF whose first page has a background image that is larger than the size of the PDF's first page. However, this approach avoids Memory issues that can occur when attempting to read undisplayably-large images.