@DoNotObfuscate public class ExtractImages extends UtilityBase
When you start the program without parameters, a usage message will show you the commandline parameters.
EMPTY_STRING, OUTPUT_PATH
Constructor and Description |
---|
ExtractImages(java.lang.String[] args)
Extract embedded images to png files.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkArguments(java.lang.String[] args) |
static void |
main(java.lang.String[] args)
Extract embedded images to png files.
|
protected void |
parseArguments(java.lang.String[] args) |
appendTrailingSlash, assertIsDirectory, checkArguments, createSourceBaseName, createUTF8Writer, isDirectory, showUsage, writeToFile
public ExtractImages(java.lang.String[] args) throws java.io.IOException
args
- args[0] pdf-source, args[1] destination-directory, args[2] passwordjava.io.IOException
public static void main(java.lang.String[] args) throws java.lang.Exception
The program does not use static fields, so you can invoke main() multiple times from a batch (unit tests).
args
- args[0] pdf-source, args[1] destination-directory, args[2] passwordjava.lang.Exception
protected void checkArguments(java.lang.String[] args) throws PDFUnitInvalidProgramInvokeException
checkArguments
in class UtilityBase
PDFUnitInvalidProgramInvokeException
protected void parseArguments(java.lang.String[] args) throws PDFUnitInvalidProgramInvokeException
parseArguments
in class UtilityBase
PDFUnitInvalidProgramInvokeException
Copyright (C) PDFUnit.com. See here for license.