| Revision: | 8 |
| Committed: | Sat May 5 04:21:19 2012 UTC (13 years, 10 months ago) by ninoborges |
| Content type: | text/x-python |
| Original Path: | Python/NinoCode/learning/FreeImage_testing.py |
| File size: | 290 byte(s) |
| Log Message: | Initial Import |
| # | 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() |