Class PDF2ImageConverter

java.lang.Object
org.eclnt.ccee.pdf.PDF2ImageConverter

public class PDF2ImageConverter extends Object
  • Field Details

  • Constructor Details

    • PDF2ImageConverter

      public PDF2ImageConverter()
  • Method Details

    • convertPDFIntoThumbImagePNG

      public static byte[] convertPDFIntoThumbImagePNG(byte[] pdfBytes, int width, int height)
    • convertPDFIntoThumbImagePNG

      public static byte[] convertPDFIntoThumbImagePNG(byte[] pdfBytes, int width, int height, int pageIndex, org.apache.pdfbox.rendering.ImageType imageType)
    • convertPDFIntoBytesPNG

      public static byte[] convertPDFIntoBytesPNG(byte[] pdfBytes, int dpi)
    • convertPDFIntoBytesPNG

      public static byte[] convertPDFIntoBytesPNG(byte[] pdfBytes, int dpi, int pageIndex, org.apache.pdfbox.rendering.ImageType imageType)
    • convertPDFIntoImage

      public static BufferedImage convertPDFIntoImage(byte[] pdfBytes, int dpi)
    • convertPDFIntoImage

      public static BufferedImage convertPDFIntoImage(byte[] pdfBytes, int dpi, int pageIndex, org.apache.pdfbox.rendering.ImageType imageType)
    • findNumberOfPages

      public static int findNumberOfPages(byte[] pdfBytes)