mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
CCITT Fax doesn't have to be image masks
This commit is contained in:
@@ -75,7 +75,8 @@
|
|||||||
ILookupFilterProvider filterProvider,
|
ILookupFilterProvider filterProvider,
|
||||||
bool cannotRecurse = false)
|
bool cannotRecurse = false)
|
||||||
{
|
{
|
||||||
if (imageDictionary.GetObjectOrDefault(NameToken.ImageMask, NameToken.Im) != null)
|
if (imageDictionary.GetObjectOrDefault(NameToken.ImageMask, NameToken.Im) != null ||
|
||||||
|
filterProvider.GetFilters(imageDictionary, scanner).OfType<CcittFaxDecodeFilter>().Any())
|
||||||
{
|
{
|
||||||
var decodeRaw = imageDictionary.GetObjectOrDefault(NameToken.Decode, NameToken.D) as ArrayToken
|
var decodeRaw = imageDictionary.GetObjectOrDefault(NameToken.Decode, NameToken.D) as ArrayToken
|
||||||
?? new ArrayToken(EmptyArray<IToken>.Instance);
|
?? new ArrayToken(EmptyArray<IToken>.Instance);
|
||||||
|
|||||||
Reference in New Issue
Block a user