You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2015/12/08 20:19:10 UTC

[jira] [Created] (PDFBOX-3158) Add constructor with BufferedImage to PDVisibleSignDesigner

Tilman Hausherr created PDFBOX-3158:
---------------------------------------

             Summary: Add constructor with BufferedImage to PDVisibleSignDesigner
                 Key: PDFBOX-3158
                 URL: https://issues.apache.org/jira/browse/PDFBOX-3158
             Project: PDFBox
          Issue Type: Improvement
          Components: Signing
    Affects Versions: 2.0.0
            Reporter: Tilman Hausherr
            Assignee: Tilman Hausherr
             Fix For: 2.0.0


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org