image syntax fix
This commit is contained in:
parent
e2b6fe0e2b
commit
f82e2641aa
1 changed files with 2 additions and 1 deletions
|
@ -384,7 +384,8 @@ if options.renderer == "mapnik":
|
|||
fname = "r"+str(relaxedFloat(entry["style"]["pattern-rotate"]))+fname
|
||||
if "pattern-spacing" in entry["style"]:
|
||||
im2 = Image.new("RGBA", (im.size[0]+int(relaxedFloat(entry["style"]["pattern-spacing"])),im.size[1]))
|
||||
im = im2.paste(im,(0,0))
|
||||
im2.paste(im,(0,0))
|
||||
im = im2
|
||||
fname = "s"+str(int(relaxedFloat(entry["style"]["pattern-spacing"])))+fname
|
||||
try:
|
||||
if not os.path.exists(icons_path+"komap/"):
|
||||
|
|
Loading…
Add table
Reference in a new issue