You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/10/11 01:45:34 UTC
[jira] [Closed] (PDFBOX-2297) PDImageXObject: Add method
getColorSpaces()
[ https://issues.apache.org/jira/browse/PDFBOX-2297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Hewson closed PDFBOX-2297.
-------------------------------
Resolution: Won't Fix
Please re-open this issue if you have a new patch.
> PDImageXObject: Add method getColorSpaces()
> -------------------------------------------
>
> Key: PDFBOX-2297
> URL: https://issues.apache.org/jira/browse/PDFBOX-2297
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Dominic Tubach
> Attachments: PDImageXObjectColorSpaces.patch
>
>
> PDImageXObject should contain the method getColorSpaces() to get the color spaces that were passed to the constructor. I need it for the following use case:
> An image XObject may contain alternate images in the Alternates dictionary entry. I want to create an PDImageXObject for one of the alternate images, so I need the color spaces to pass them to the constructor. Theoretically a method that returns a list of PDImageXObjects containing all alternate images would also be possible. But as long as a PDImageXObject is always decoded it would produce unnecessary overhead as I only need one of them.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)