Package com.mindee.pdf
Interface PDFCompression
-
- All Known Implementing Classes:
PDFCompressor
public interface PDFCompressionCompress a PDF.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default byte[]compressPDF(byte[] fileBytes)default byte[]compressPDF(byte[] fileBytes, int imageQuality)default byte[]compressPDF(byte[] fileBytes, int imageQuality, Boolean forceSourceTextCompression)byte[]compressPDF(byte[] fileBytes, int imageQuality, Boolean forceSourceTextCompression, Boolean disableSourceText)
-
-
-
Method Detail
-
compressPDF
byte[] compressPDF(byte[] fileBytes, int imageQuality, Boolean forceSourceTextCompression, Boolean disableSourceText) throws IOException- Throws:
IOException
-
compressPDF
default byte[] compressPDF(byte[] fileBytes, int imageQuality, Boolean forceSourceTextCompression) throws IOException- Throws:
IOException
-
compressPDF
default byte[] compressPDF(byte[] fileBytes, int imageQuality) throws IOException- Throws:
IOException
-
compressPDF
default byte[] compressPDF(byte[] fileBytes) throws IOException- Throws:
IOException
-
-