[PYTHON IMAGE-SIG] PDF files written by PIL is considered broken by Acrobat (includes fix)
Fredrik Lundh
fredrik_lundh@ivab.se
Thu, 16 Jan 1997 16:15:23 +0100
Acrobat complains on PDF files written by PIL 0.2b4 (and earlier), but
still renders them correctly. To get rid of the complaint, change
the following line in PdfImagePlugin.py:
fp.write("%%PDF-1.1\n")
to
fp.write("%PDF-1.1\n") # note! only one (1) percent here
Also noticed that xpdf 0.6 fails to display PDF files created by PIL,
but that's probably because the xpdf author has hacked his own JPEG
code...
Regards /F
_______________
IMAGE-SIG - SIG on Image Processing with Python
send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org
_______________