You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Josh Brackett (Created) (JIRA)" <ji...@apache.org> on 2012/03/06 19:44:54 UTC

[jira] [Created] (PDFBOX-1246) Allow resolution to be defined when calling ImageIOUtil.writeImage

Allow resolution to be defined when calling ImageIOUtil.writeImage
------------------------------------------------------------------

                 Key: PDFBOX-1246
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1246
             Project: PDFBox
          Issue Type: Improvement
          Components: Utilities
    Affects Versions: 1.6.0
         Environment: All
            Reporter: Josh Brackett
            Priority: Trivial
         Attachments: ImageIOUtilPatch.rtf

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.

--
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

        

[jira] [Resolved] (PDFBOX-1246) Allow resolution to be defined when calling ImageIOUtil.writeImage

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler resolved PDFBOX-1246.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.8.0

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.
                
> Allow resolution to be defined when calling ImageIOUtil.writeImage
> ------------------------------------------------------------------
>
>                 Key: PDFBOX-1246
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1246
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 1.7.0
>         Environment: All
>            Reporter: Josh Brackett
>            Assignee: Andreas Lehmkühler
>            Priority: Trivial
>              Labels: patch
>             Fix For: 1.8.0
>
>         Attachments: ImageIOUtilPatch.rtf
>
>
> 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.

--
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

       

[jira] [Updated] (PDFBOX-1246) Allow resolution to be defined when calling ImageIOUtil.writeImage

Posted by "Josh Brackett (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Brackett updated PDFBOX-1246:
----------------------------------

    Attachment: ImageIOUtilPatch.rtf
    
> Allow resolution to be defined when calling ImageIOUtil.writeImage
> ------------------------------------------------------------------
>
>                 Key: PDFBOX-1246
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1246
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 1.6.0
>         Environment: All
>            Reporter: Josh Brackett
>            Priority: Trivial
>              Labels: patch
>         Attachments: ImageIOUtilPatch.rtf
>
>
> 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.

--
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

        

[jira] [Updated] (PDFBOX-1246) Allow resolution to be defined when calling ImageIOUtil.writeImage

Posted by "Josh Brackett (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Brackett updated PDFBOX-1246:
----------------------------------

    Affects Version/s:     (was: 1.6.0)
                       1.7.0
    
> Allow resolution to be defined when calling ImageIOUtil.writeImage
> ------------------------------------------------------------------
>
>                 Key: PDFBOX-1246
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1246
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 1.7.0
>         Environment: All
>            Reporter: Josh Brackett
>            Priority: Trivial
>              Labels: patch
>         Attachments: ImageIOUtilPatch.rtf
>
>
> 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.

--
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

        

[jira] [Assigned] (PDFBOX-1246) Allow resolution to be defined when calling ImageIOUtil.writeImage

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler reassigned PDFBOX-1246:
------------------------------------------

    Assignee: Andreas Lehmkühler
    
> Allow resolution to be defined when calling ImageIOUtil.writeImage
> ------------------------------------------------------------------
>
>                 Key: PDFBOX-1246
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1246
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 1.7.0
>         Environment: All
>            Reporter: Josh Brackett
>            Assignee: Andreas Lehmkühler
>            Priority: Trivial
>              Labels: patch
>         Attachments: ImageIOUtilPatch.rtf
>
>
> 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.

--
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