[
https://issues.apache.org/jira/browse/PDFBOX-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler closed PDFBOX-197.
-------------------------------------
Resolution: Cannot Reproduce
Assignee: Andreas Lehmkühler
The mentioned sample pdf doesn't contain any image -> Set to closed
> extractimages example doesn't work correctly
> --------------------------------------------
>
> Key: PDFBOX-197
> URL: https://issues.apache.org/jira/browse/PDFBOX-197
> Project: PDFBox
> Issue Type: Bug
> Assignee: Andreas Lehmkühler
> Priority: Minor
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1558429
> Originally submitted by pergi on 2006-09-14 01:22.
> the process never enter in the second while
> while( iter.hasNext() )
> {
> PDPage page = (PDPage)iter.next();
> PDResources resources = page.getResources();
> Map images = resources.getImages();
> if( images != null )
> {
> Iterator imageIter = images.keySet().iterator();
> while( imageIter.hasNext() )
> {
> String key = (String)imageIter.next();
> PDXObjectImage image = (PDXObjectImage)images.get(
> key );
> String name = getUniqueFileName( key, image.getSuffix
> () );
> System.out.println( "Writing image:" + name );
> image.write2file( name );
> }
> }
> }
>
> ps: attached is an example file
> [attachment on SourceForge]
> http://sourceforge.net/tracker/download.php?group_id=78314&atid=552832&aid=1558429&file_id=193486
> regolamento2005pisa.pdf (application/pdf), 60535 bytes
--
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