PostGIS  2.5.0dev-r@@SVN_REVISION@@
genraster Namespace Reference

Variables

string g_file = "out.png"
 
tuple g_size = ( int(sys.argv[1]), int(sys.argv[2]) )
 
tuple g_cell_size = ( int(sys.argv[3]), int(sys.argv[4]) )
 
tuple g_outline = int(sys.argv[5])
 
tuple ncells = (g_size[0] / g_cell_size[0])
 
tuple img = Image.new("L", g_size, 255)
 
tuple draw = ImageDraw.Draw(img)
 
int colour_step = 8
 
int count = 0
 
 value = count*colour_step
 
int value_text = 255
 
tuple font