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

Add constructor with BufferedImage to PDVisibleSignDesigner

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • Signing
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment