You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Mike Tillberg (JIRA)" <ji...@apache.org> on 2011/03/08 22:20:59 UTC

[jira] Created: (PDFBOX-971) ExtractImages ignores -prefix

ExtractImages ignores -prefix
-----------------------------

                 Key: PDFBOX-971
                 URL: https://issues.apache.org/jira/browse/PDFBOX-971
             Project: PDFBox
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 1.4.0, 1.6.0
            Reporter: Mike Tillberg
            Priority: Minor


ExtractImages utility ignores the -prefix option, doesn't output expected filenames.

String name = getUniqueFileName( key, image.getSuffix() );

should be 

String name = getUniqueFileName( prefix, image.getSuffix() );


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (PDFBOX-971) ExtractImages ignores -prefix

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

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

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

I added the fix as proposed in revision 1083894. I also introduced a new command line parameter "-addkey" to add the internal image key to the filename.

Thanks for the contribution!

> ExtractImages ignores -prefix
> -----------------------------
>
>                 Key: PDFBOX-971
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-971
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 1.4.0, 1.6.0
>            Reporter: Mike Tillberg
>            Assignee: Andreas Lehmkühler
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> ExtractImages utility ignores the -prefix option, doesn't output expected filenames.
> String name = getUniqueFileName( key, image.getSuffix() );
> should be 
> String name = getUniqueFileName( prefix, image.getSuffix() );

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira