Update acc. to spec PDF 2.0, chapter 7, color space of JPX image, minor parser update

This commit is contained in:
Jakub Melka
2020-07-10 17:08:22 +02:00
parent 863ae5a873
commit 4647633956
3 changed files with 23 additions and 12 deletions

View File

@ -531,11 +531,10 @@ private:
class PDFICCBasedColorSpace : public PDFAbstractColorSpace
{
private:
public:
static constexpr const size_t MAX_COLOR_COMPONENTS = 4;
using Ranges = std::array<PDFColorComponent, MAX_COLOR_COMPONENTS * 2>;
public:
explicit PDFICCBasedColorSpace(PDFColorSpacePointer alternateColorSpace, Ranges range, QByteArray iccProfileData);
virtual ~PDFICCBasedColorSpace() = default;