1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#!/usr/bin/env python
from gamera import core, gendoc
import wxversion
wxversion.select(["3.0", "2.8", "2.6", "2.5", "2.4"])
import draw_text_helper
import sys
import os
import gamera.paths
gamera.paths.test = os.path.join(os.path.dirname(__file__), '..', 'gamera', 'test')
if __name__ == "__main__":
core.init_gamera()
gendoc.gendoc(classes=[
("gamera.core", "ImageInfo",
'x_resolution y_resolution ncols nrows depth ncolors'),
("gamera.core", "ImageData",
'nrows ncols page_offset_x page_offset_y stride size bytes pixel_type storage_format'),
("gamera.core", "RGBPixel",
'red green blue hue saturation value cie_x cie_y cie_z cie_Lab_L cie_Lab_a cie_Lab_b cyan magenta yellow')
])
|