mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-06 09:13:25 +08:00
Merge pull request #318 from kasperdaff/indexed-color-space-table-in-string-token
The palette of an indexed color space can be stored in a StringToken
This commit is contained in:
@@ -181,6 +181,10 @@
|
|||||||
{
|
{
|
||||||
tableBytes = tableStreamToken.Decode(filterProvider, scanner);
|
tableBytes = tableStreamToken.Decode(filterProvider, scanner);
|
||||||
}
|
}
|
||||||
|
else if (DirectObjectFinder.TryGet(fourth, scanner, out StringToken stringToken))
|
||||||
|
{
|
||||||
|
tableBytes = stringToken.GetBytes();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return UnsupportedColorSpaceDetails.Instance;
|
return UnsupportedColorSpaceDetails.Instance;
|
||||||
|
|||||||
Reference in New Issue
Block a user