You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Juraj Lonc (JIRA)" <ji...@apache.org> on 2012/08/29 22:25:07 UTC

[jira] [Created] (PDFBOX-1401) Processor for getting image positions

Juraj Lonc created PDFBOX-1401:
----------------------------------

             Summary: Processor for getting image positions
                 Key: PDFBOX-1401
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1401
             Project: PDFBox
          Issue Type: Improvement
    Affects Versions: 1.7.1
            Reporter: Juraj Lonc
            Priority: Minor


I have created PDFImageDetailsResolver class that gathers details about inline images from page (name, width, height, position x, position y).
I could not find any tool that gives me position of images on page. So I created one for myself.

Do you want to implement it into pdfbox?


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PDFBOX-1401) Processor for getting image positions

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

Juraj Lonc updated PDFBOX-1401:
-------------------------------

    Attachment: PDFImageDetailsResolver_src.zip
    
> Processor for getting image positions
> -------------------------------------
>
>                 Key: PDFBOX-1401
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1401
>             Project: PDFBox
>          Issue Type: Improvement
>    Affects Versions: 1.7.1
>            Reporter: Juraj Lonc
>            Priority: Minor
>         Attachments: PDFImageDetailsResolver_src.zip
>
>
> I have created PDFImageDetailsResolver class that gathers details about inline images from page (name, width, height, position x, position y).
> I could not find any tool that gives me position of images on page. So I created one for myself.
> Do you want to implement it into pdfbox?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (PDFBOX-1401) Processor for getting image positions

Posted by "Juraj Lonc (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444381#comment-13444381 ] 

Juraj Lonc commented on PDFBOX-1401:
------------------------------------

Usage looks smooth:

PDFImageDetailsResolver resolver=new PDFImageDetailsResolver();
List<ResolvedImage> images=resolver.findImages(pdPage);
for (ResolvedImage i: images0) {
   System.out.println("image="+i.getName()+", resolution="+i.getWidth()+"x"+i.getHeight()+", position="+i.getX()+"x"+i.getY());
}
                
> Processor for getting image positions
> -------------------------------------
>
>                 Key: PDFBOX-1401
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1401
>             Project: PDFBox
>          Issue Type: Improvement
>    Affects Versions: 1.7.1
>            Reporter: Juraj Lonc
>            Priority: Minor
>
> I have created PDFImageDetailsResolver class that gathers details about inline images from page (name, width, height, position x, position y).
> I could not find any tool that gives me position of images on page. So I created one for myself.
> Do you want to implement it into pdfbox?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PDFBOX-1401) Processor for getting image positions

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

Juraj Lonc updated PDFBOX-1401:
-------------------------------

    Priority: Major  (was: Minor)
    
> Processor for getting image positions
> -------------------------------------
>
>                 Key: PDFBOX-1401
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1401
>             Project: PDFBox
>          Issue Type: Improvement
>    Affects Versions: 1.7.1
>            Reporter: Juraj Lonc
>         Attachments: PDFImageDetailsResolver_src.zip
>
>
> I have created PDFImageDetailsResolver class that gathers details about inline images from page (name, width, height, position x, position y).
> I could not find any tool that gives me position of images on page. So I created one for myself.
> Do you want to implement it into pdfbox?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira