[ 
https://issues.apache.org/jira/browse/PDFBOX-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Pick updated PDFBOX-1270:
----------------------------------

    Description: 
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. 

  was:
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. 

        Summary: Change internal page resolution to float everywhere  (was: 
PDPage.convertToImage() : Parameter "resolution" should be float)
    
> 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
>    Affects Versions: 1.6.0
>            Reporter: Benjamin Pick
>            Priority: Minor
>              Labels: PDFToImage
>         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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to