Class ExtractImages

java.lang.Object
org.apache.pdfbox.ExtractImages

public class ExtractImages extends Object
This will read a read pdf and extract images.

usage: java org.apache.pdfbox.ExtractImages <pdffile> <password> [imageprefix]
Version:
$Revision: 1.7 $
Author:
Ben Litchfield
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      This is the entry point for the application.
      Parameters:
      args - The command-line arguments.
      Throws:
      Exception - If there is an error decrypting the document.
    • writeJpeg2file

      public void writeJpeg2file(PDJpeg image, String filename) throws IOException
      Throws:
      IOException