From 03875a1179411c52df60f1e68dd4c2264a3a34b6 Mon Sep 17 00:00:00 2001 From: zmy Date: Wed, 27 Jan 2021 12:11:56 +0800 Subject: [PATCH] update --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1ac766b..6a2e459 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,9 @@ Q1. ```KeyError: webp``` Ans. We use webp format to encode the image and your system have no libwebp installed. - 1. you can change the format to others by modifying the code ```img = img.save(img_stream, format='webp')``` in server.py/HTTPImageServer.handle_image(line 165) +1. you can change the format to others by modifying the code ```img = img.save(img_stream, format='webp')``` in server.py/HTTPImageServer.handle_image(line 165) - 2. you can install ```libwebp-dev``` and reinstall pillow package for webp support. +2. you can install ```libwebp-dev``` and reinstall pillow package for webp support. ## 3. Structure. The server.py mainly provides two api.