/DCTDecode stream data

This commit is contained in:
Sylvain Pelissier 2015-12-05 11:17:12 +01:00
parent 0900101f83
commit 098394a3b3
1 changed files with 3 additions and 0 deletions

View File

@ -350,6 +350,9 @@ def decodeStreamData(stream):
data = LZWDecode.decode(data, stream.get("/DecodeParms"))
elif filterType == "/ASCII85Decode" or filterType == "/A85":
data = ASCII85Decode.decode(data)
elif filterType == "/DCTDecode":
#return raw data for jpg image
pass
elif filterType == "/Crypt":
decodeParams = stream.get("/DecodeParams", {})
if "/Name" not in decodeParams and "/Type" not in decodeParams: