forked from Decentrala/website
		
	fix pad and dark poster mesh color in imageposter
This commit is contained in:
		@@ -115,7 +115,7 @@ def drawPoster(events, bg, fg, month:int):
 | 
			
		||||
        for y in range(mesh_img.size[1]):
 | 
			
		||||
            for x in range(mesh_img.size[0]):
 | 
			
		||||
                if pixdata[x,y] != (0,0,0,0):
 | 
			
		||||
                    pixdata[x, y] = (0, 255, 0, 255)
 | 
			
		||||
                    pixdata[x, y] = (0, 100, 0, 255)
 | 
			
		||||
 | 
			
		||||
    mesh_img = mesh_img.resize((W,H))
 | 
			
		||||
    mesh_img.thumbnail((W,H), Image.Resampling.LANCZOS)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user