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

        Josh Brackett created issue -
        Josh Brackett made changes -
        Field Original Value New Value
        Attachment ImageIOUtilPatch.rtf [ 12517281 ]
        Josh Brackett made changes -
        Affects Version/s 1.7.0 [ 12316940 ]
        Affects Version/s 1.6.0 [ 12316242 ]
        Andreas Lehmkühler made changes -
        Assignee Andreas Lehmkühler [ lehmi ]
        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.
        Andreas Lehmkühler made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.8.0 [ 12321650 ]
        Resolution Fixed [ 1 ]
        Andreas Lehmkühler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          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