Python
python图片压缩

import requests from PIL import Image import os import flask, json import random def get_size(file): # 获取文件大小:KB size = os.path.getsize(file) return s…