You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/12/08 21:15:11 UTC
[jira] [Commented] (PDFBOX-3158) Add constructor with BufferedImage
to PDVisibleSignDesigner
[ https://issues.apache.org/jira/browse/PDFBOX-3158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15047405#comment-15047405 ]
ASF subversion and git services commented on PDFBOX-3158:
---------------------------------------------------------
Commit 1718688 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1718688 ]
PDFBOX-3158: use LosslessFactory instead of JpegFactory
> 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