PythonAPI/jaxinye.py
def stitch(path, origin, height, width):
    '''
    Stitch pieces of image of size specified as height X width into the size of origin
    '''
    image_list = glob.glob(path)
    print(sorted(image_list))
    images = map(Image.open, image_list)
    ori = Image.open(origin)
    imgwidth, imgheight = ori.size
    horizontalNum = math.ceil(imgwidth/width)
    verticalNum = math.ceil(imgheight/height)
    new_im= Image.new('RGB', (imgwidth, imgheight))
    #TODO

    Stitch pieces of image of size specified as height X width into the size of origin
    
Stitch pieces of image of size specified as height X width into the size of origin
Stitch pieces of image of size specified as height X width into the size of origin
def stitch(path, origin, height, width):
    image_list = glob.glob(path)
    print(sorted(image_list))
    images = map(Image.open, image_list)
    ori = Image.open(origin)
    imgwidth, imgheight = ori.size
    horizontalNum = math.ceil(imgwidth/width)
    verticalNum = math.ceil(imgheight/height)
    new_im= Image.new('RGB', (imgwidth, imgheight))
def stitch ( path , origin , height , width ) : image_list = glob . glob ( path ) print ( sorted ( image_list ) ) images = map ( Image . open , image_list ) ori = Image . open ( origin ) imgwidth , imgheight = ori . size horizontalNum = math . ceil ( imgwidth / width ) verticalNum = math . ceil ( imgheight / height ) new_im = Image . new ( 'RGB' , ( imgwidth , imgheight ) )
Stitch pieces of image of size specified as height X width into the size of origin
Stitch pieces of image of size specified as height X width into the size of origin
'''
    Stitch pieces of image of size specified as height X width into the size of origin
    ''' #TODO
path
origin
height
width