You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Ian Holsman (JIRA)" <ji...@apache.org> on 2012/05/13 11:14:47 UTC

[jira] [Created] (PDFBOX-1308) PDResources.getImages() is broken

Ian Holsman created PDFBOX-1308:
-----------------------------------

             Summary: PDResources.getImages() is broken
                 Key: PDFBOX-1308
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1308
             Project: PDFBox
          Issue Type: Bug
          Components: PDModel
    Affects Versions: 1.7.0
            Reporter: Ian Holsman


the current trunk getImages() call will always return an emptyset.

as it tries to get the image from a freshly created hashmap instead of allXObjects.


--
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-1308) PDResources.getImages() is broken

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

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

       Resolution: Fixed
    Fix Version/s: 1.7.0
         Assignee: Andreas Lehmkühler

I applied the patch in revision 1337895 as proposed.

Thanks for the contribution.
                
> PDResources.getImages() is broken
> ---------------------------------
>
>                 Key: PDFBOX-1308
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1308
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.7.0
>            Reporter: Ian Holsman
>            Assignee: Andreas Lehmkühler
>              Labels: patch
>             Fix For: 1.7.0
>
>         Attachments: getImages.diff
>
>
> the current trunk getImages() call will always return an emptyset.
> as it tries to get the image from a freshly created hashmap instead of allXObjects.

--
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-1308) PDResources.getImages() is broken

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

Ian Holsman updated PDFBOX-1308:
--------------------------------

    Attachment: getImages.diff

patch to use entryset to get image.
                
> PDResources.getImages() is broken
> ---------------------------------
>
>                 Key: PDFBOX-1308
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1308
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.7.0
>            Reporter: Ian Holsman
>              Labels: patch
>         Attachments: getImages.diff
>
>
> the current trunk getImages() call will always return an emptyset.
> as it tries to get the image from a freshly created hashmap instead of allXObjects.

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