Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3158

Add constructor with BufferedImage to PDVisibleSignDesigner

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Signing
    • Labels:
      None

      Description

      In 1.8 the PDVisibleSignDesigner constructor took a JPEG stream and used that one directly to create a PDJpeg. In 2.0 the stream is read into a BufferedImage so the opportunity to create a JPEG directly is lost. But this doesn't matter, as a JPEG is not the best choice for images with sharp edges (a signature scan, or a text printed into an image). So I will

      • replace the JPEGFactory with LosslessFactoory
      • add constructor that takes a BufferedImage

        Attachments

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: