How to get image size (bytes) using PIL

前端 未结 5 1887
清歌不尽
清歌不尽 2020-12-18 18:20

I found out how to use PIL to get the image dimensions, but not the file size in bytes. I need to know the file size to decide if the file is too big to be uploaded to the d

5条回答
提交回复
热议问题