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:
Eliot Jones
2021-04-29 06:55:36 -04:00
committed by GitHub

View File

@@ -181,6 +181,10 @@
{
tableBytes = tableStreamToken.Decode(filterProvider, scanner);
}
else if (DirectObjectFinder.TryGet(fourth, scanner, out StringToken stringToken))
{
tableBytes = stringToken.GetBytes();
}
else
{
return UnsupportedColorSpaceDetails.Instance;