当我尝试执行下面的程序时:
import image
img = image.Image("LutherBellPic.jpg")
print(img.getWidth())
print(img.getHeight())
p = img.getPixel(45, 55)
print(p.getRed(), p.getGreen(), p.getBlue())
Run Code Online (Sandbox Code Playgroud)
我不断收到以下错误:
AttributeError: module 'image' has no attribute 'Image'
Run Code Online (Sandbox Code Playgroud)