ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/learning/FreeImage_testing.py
Revision: 591
Committed: Tue Nov 3 22:45:12 2015 UTC (10 years, 4 months ago) by nino.borges
Content type: text/x-python
File size: 290 byte(s)
Log Message:
Moved dir out of main dir.

File Contents

# Content
1 """ 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()