[ 
https://issues.apache.org/jira/browse/PDFBOX-2496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14210175#comment-14210175
 ] 

John Hewson commented on PDFBOX-2496:
-------------------------------------

Simon, can you upload the PNG files too?

Yes, the parameters to PDFToImage have changed, i.e., {{-imageType}} is now 
{{-format}}. This was done to make PDFBox more consistent with other tools, and 
also Java's own terminology (in Java an image 'type' refers to the color model, 
e.g. int-packed ARGB, whereas an image 'format' refers to the file format on 
disk, e.g. PNG). However, please note that the old parameters are still 
supported - we didn't want to break existing shell scripts.

> PNG filesize is larger
> ----------------------
>
>                 Key: PDFBOX-2496
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2496
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: simon steiner
>         Attachments: simple.pdf
>
>
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage 
> -format png simple.pdf
> java -jar pdfbox/app/target/pdfbox-app-1.8.8-SNAPSHOT.jar PDFToImage 
> -imageType png simple.pdf
> 2.0 is 656KB
> 1.8 is 402KB



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to