Henning Körtel
Henning Körtel
@stefan6419846 This seems to be a general problem of getting color values from the special color spaces (like Separation, DeviceN) from the alternate color space definition, that is part of...
PANTONE colors are used in /Separation and /DeviceN color spaces as they are intended to be "ink" channels. That means that they MUST have (according PDF spec) an alternate color...
> > As color spaces are fundamentals of PDF they should be represented by a high level object in pypdf. The application of their properties (color transformations) might be out...
> Sorry, but I am still having trouble to understand what you intend here and how a separate data structure for color spaces will help. If the color space is...
Hi @stefan6419846 , I did an alternative implementation to extract xobj images and create PIL images from them. It covers so far Separation and DeviceN color spaces with an alternate...
> Your link is not working, but I found the corresponding branch and diff at [main...henningkoertelgmg:pypdf:MAINT-extract-img](https://github.com/py-pdf/pypdf/compare/main...henningkoertelgmg:pypdf:MAINT-extract-img) > Sorry, link is fixed now ...