ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/learning/FreeImage_testing.py
Revision: 8
Committed: Sat May 5 04:21:19 2012 UTC (13 years, 10 months ago) by ninoborges
Content type: text/x-python
File size: 290 byte(s)
Log Message:
Initial Import

File Contents

# User Rev Content
1 ninoborges 8 """ Testing freeimage routines
2    
3     """
4    
5     import FreeImagePy
6    
7    
8    
9     >>> img = "C:/test_dir/IMAGES/MYL-1053015.tif"
10     >>> FIPY = FreeImagePy.freeimage()
11     >>> image = FIPY.openMulti(img)
12     >>> pageCount = FIPY.GetPageCount(image)
13     >>>
14     >>> FIPY.CloseMultiBitmap(image)
15     >>> FIPY.DeInitialise()