Skip to content

Commit

Permalink
Do not mark L mode JPEG as 1 bit
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Mar 22, 2022
1 parent a6a843e commit bde3086
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/PIL/PdfImagePlugin.py
Expand Up @@ -127,7 +127,6 @@ def _save(im, fp, filename, save_all=False):
filter = "DCTDecode"
colorspace = PdfParser.PdfName("DeviceGray")
procset = "ImageB" # grayscale
bits = 1
elif im.mode == "L":
filter = "DCTDecode"
# params = f"<< /Predictor 15 /Columns {width-2} >>"
Expand Down

0 comments on commit bde3086

Please sign in to comment.