PDFBox
  1. PDFBox
  2. PDFBOX-1246

Allow resolution to be defined when calling ImageIOUtil.writeImage

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.8.0
    • Component/s: Utilities
    • Labels:
    • Environment:
      All

      Description

      I would like to call the method

      private static boolean writeImage(BufferedImage image, String imageFormat, Object outputStream, int resolution)

      but it's private.

      The easiest solution in my mind would be just to change this method to a public method.

        Activity

        Hide
        Andreas Lehmkühler added a comment -

        I changed the mentioned method to a public one as proposed and added another one handling the compression quality in revision 1374921.

        Thanks for the contribution.

        Show
        Andreas Lehmkühler added a comment - I changed the mentioned method to a public one as proposed and added another one handling the compression quality in revision 1374921. Thanks for the contribution.

          People

          • Assignee:
            Andreas Lehmkühler
            Reporter:
            Josh Brackett
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development