Interface PDFCompression

  • All Known Implementing Classes:
    PDFCompressor

    public interface PDFCompression
    Compress a PDF.
    • Method Detail

      • 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