##// END OF EJS Templates
add note about PIL's jpeg support
MinRK -
Show More
@@ -62,6 +62,8 b' def test_figure_to_svg():'
62
62
63 def _check_pil_jpeg_bytes():
63 def _check_pil_jpeg_bytes():
64 """Skip if PIL can't write JPEGs to BytesIO objects"""
64 """Skip if PIL can't write JPEGs to BytesIO objects"""
65 # PIL's JPEG plugin can't write to BytesIO objects
66 # Pillow fixes this
65 from PIL import Image
67 from PIL import Image
66 buf = BytesIO()
68 buf = BytesIO()
67 img = Image.new("RGB", (4,4))
69 img = Image.new("RGB", (4,4))
General Comments 0
You need to be logged in to leave comments. Login now