[
https://issues.apache.org/jira/browse/PDFBOX-3158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15047426#comment-15047426
]
ASF subversion and git services commented on PDFBOX-3158:
---------------------------------------------------------
Commit 1718695 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1718695 ]
PDFBOX-3158: add constructors with BufferedImage
> 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: [email protected]
For additional commands, e-mail: [email protected]