mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-01-18 19:51:24 +08:00
CCITT Fax doesn't have to be image masks
This commit is contained in:
@@ -75,7 +75,8 @@
|
||||
ILookupFilterProvider filterProvider,
|
||||
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
|
||||
?? new ArrayToken(EmptyArray<IToken>.Instance);
|
||||
|
||||
Reference in New Issue
Block a user