Class ExtractImages

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

public final class ExtractImages extends Object
Extracts the images from a PDF file.
  • Field Details

  • Constructor Details

    • ExtractImages

      private ExtractImages()
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      Entry point for the application.
      Parameters:
      args - The command-line arguments.
      Throws:
      IOException - if there is an error reading the file or extracting the images.
    • run

      private void run(String[] args) throws IOException
      Throws:
      IOException
    • usage

      private static void usage()
      Print the usage requirements and exit.
    • extract

      private void extract(String pdfFile, String password) throws IOException
      Throws:
      IOException