Python PIL.Image.VERSION Examples
The following are 5
code examples of PIL.Image.VERSION().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
PIL.Image
, or try the search function
.

Example #1
Source File: assert_modules.py From ibeis with Apache License 2.0 | 5 votes |
def pillow_version(): from PIL import Image import PIL pil_path = PIL.__path__ if len(PIL.__path__) > 1: print('WARNING!!! THERE ARE MULTIPLE PILS! %r ' % PIL.__path__) return module_stdinfo_dict( Image, versionattr='PILLOW_VERSION', image_version=Image.VERSION, pil_path=pil_path) #@checkinfo('1.3.1')
Example #2
Source File: ImageCms.py From teleport with Apache License 2.0 | 5 votes |
def versions(): """ (pyCMS) Fetches versions. """ return ( VERSION, core.littlecms_version, sys.version.split()[0], Image.VERSION )
Example #3
Source File: ImageCms.py From lambda-text-extractor with Apache License 2.0 | 5 votes |
def versions(): """ (pyCMS) Fetches versions. """ return ( VERSION, core.littlecms_version, sys.version.split()[0], Image.VERSION ) # --------------------------------------------------------------------
Example #4
Source File: ImageCms.py From lambda-text-extractor with Apache License 2.0 | 5 votes |
def versions(): """ (pyCMS) Fetches versions. """ return ( VERSION, core.littlecms_version, sys.version.split()[0], Image.VERSION ) # --------------------------------------------------------------------
Example #5
Source File: base.py From SimpleCV2 with BSD 3-Clause "New" or "Revised" License | 4 votes |
def system(): """ **SUMMARY** Output of this function includes various informations related to system and library. Main purpose: - While submiting a bug, report the output of this function - Checking the current version and later upgrading the library based on the output **RETURNS** None **EXAMPLE** >>> import SimpleCV >>> SimpleCV.system() """ try : import platform print "System : ", platform.system() print "OS version : ", platform.version() print "Python version :", platform.python_version() try : from cv2 import __version__ print "Open CV version : " + __version__ except ImportError : print "Open CV2 version : " + "2.1" if (PIL_ENABLED) : print "PIL version : ", pil.VERSION else : print "PIL module not installed" if (ORANGE_ENABLED) : print "Orange Version : " + orange.version else : print "Orange module not installed" try : import pygame as pg print "PyGame Version : " + pg.__version__ except ImportError: print "PyGame module not installed" try : import pickle print "Pickle Version : " + pickle.__version__ except : print "Pickle module not installed" except ImportError : print "You need to install Platform to use this function" print "to install you can use:" print "easy_install platform" return