Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺
# coding: utf8
from PIL import Image
img = Image.open("img.jpg")
print img.size
print img.format
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/197795.html原文链接:https://javaforall.net
python 获取图片大小_python用户输入矩形的长和宽#coding:utf8fromPILimportImageimg=Image.open(“img.jpg”)printimg.sizeprintimg.format
Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺
# coding: utf8
from PIL import Image
img = Image.open("img.jpg")
print img.size
print img.format
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/197795.html原文链接:https://javaforall.net