You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/10/11 03:23:33 UTC
[jira] [Closed] (PDFBOX-1270) Change internal page resolution to
float everywhere
[ https://issues.apache.org/jira/browse/PDFBOX-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Hewson closed PDFBOX-1270.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
This is fixed in 2.0, and the "resolution" variable has been given the correct name of "dpi".
> Change internal page resolution to float everywhere
> ---------------------------------------------------
>
> Key: PDFBOX-1270
> URL: https://issues.apache.org/jira/browse/PDFBOX-1270
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel, Rendering
> Affects Versions: 1.6.0
> Reporter: Benjamin Pick
> Priority: Minor
> Labels: PDFToImage
> Fix For: 2.0.0
>
> Attachments: PDFBox-1270-2.patch
>
>
> Was: PDPage.convertToImage() : Parameter "resolution" should be float
> Is there any specific reason why the method signature reads "int resolution", not "float resolution"?
> I want to create an image of a certain pixel size, so it would be easier/faster to calculate the exact resolution instead of resizing the image afterwards.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)