You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2019/09/21 11:09:00 UTC

[jira] [Created] (PDFBOX-4655) ImageIOUtil.WriteImage creates huge PNG images when used with default quality on jdk11

Tilman Hausherr created PDFBOX-4655:
---------------------------------------

             Summary: ImageIOUtil.WriteImage creates huge PNG images when used with default quality on jdk11
                 Key: PDFBOX-4655
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4655
             Project: PDFBox
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 2.0.17
            Reporter: Tilman Hausherr
            Assignee: Tilman Hausherr
             Fix For: 2.0.18, 3.0.0 PDFBox


[~tallison@apache.org] pointed us to a build failure in Tika on jdk11. The cause may be different .PNG files - I noticed that PNG files saved with ImageIOUtil.write() are huge when done with default quality, which is 1. In the past that parameter had no effect for PNG files but apparently no more.

Todo:
- use flexible default value
- mention in Javadoc
- change command line tools (PDFToImage / ExtractImages)
- change one test



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org