Python入门:PIL(pillow)之im对象(Image.open('file.jpeg'))

from PIL import Image
im = Image.open('file.jpeg')
help(im)
Help on JpegImageFile in module PIL.JpegImagePlugin object:

class JpegImageFile(PIL.ImageFile.ImageFile)
 |  Base class for image file format handlers.
 |  
 |  Method resolution order:
 |      JpegImageFile
 |      PIL.ImageFile.ImageFile
 |      PIL.Image.Image
 |      builtins.object
 |  
 |  Methods defined here:
 |  
 |  draft(self, mode, size)
 |      Set draft mode
 |  
 |  load_djpeg(self)
 |  
 |  -----------------------------------

你可能感兴趣的:(python)