[
https://issues.apache.org/jira/browse/PDFBOX-3158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-3158.
-------------------------------------
Resolution: Fixed
> 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]