Closed zimeon closed 7 years ago
On current image_api_2.1 branch, output for a PDF is:
(py3)simeon@RottenApple iiif>./iiif_static.py --dst /tmp chamberlain.interiew.pdf
iiif_static.py: source file: chamberlain.interiew.pdf
iiif_static.py: Error: PIL Image.open(chamberlain.interiew.pdf) barfed: cannot identify image file 'chamberlain.interiew.pdf', parameter=unknown, code=500
Seems adequately fixed by merge of #17. Done.
@jgreidy reports a rather unhelpful error message if one feeds a PDF file to iiif_static.py:
There is no support for PDF but a better message would be nice.