Package | Description |
---|---|
com.itextpdf.pdfoptimizer | |
com.itextpdf.pdfoptimizer.report.builder |
Modifier and Type | Method and Description |
---|---|
OptimizationResult |
PdfOptimizer.optimize(File inputFile, File outputFile)
Reads PdfDocument from provided File and writes its optimized version in the new file.
|
OptimizationResult |
PdfOptimizer.optimize(File inputFile, OutputStream outputStream)
|
OptimizationResult |
PdfOptimizer.optimize(InputStream inputStream, File outputFile)
Reads PdfDocument from provided InputStream and writes its optimized version in the new file.
|
OptimizationResult |
PdfOptimizer.optimize(InputStream inputStream, OutputStream outputStream)
Reads PdfDocument from provided InputStream and writes its optimized version in the provided OutputStream .
|
OptimizationResult |
PdfOptimizer.optimize(com.itextpdf.kernel.pdf.PdfReader reader, File outputFile)
Reads PdfDocument from provided PdfReader and writes its optimized version in the new file.
|
OptimizationResult |
PdfOptimizer.optimize(com.itextpdf.kernel.pdf.PdfReader reader, OutputStream outputStream)
Reads PdfDocument from provided PdfReader and writes its optimized version in the provided OutputStream .
|
Modifier and Type | Method and Description |
---|---|
OptimizationResult |
DefaultReportBuilder.build()
Builds a report based on messages logged with DefaultReportBuilder.log(SeverityLevel, Date, LocationStack, String, Object...) .
|
OptimizationResult |
FileReportBuilder.build()
Generates a report using IReportPublisher .
|
Copyright © 1998–2020 iText Group NV. All rights reserved.