color handling fix in imagetracer.js
This commit is contained in:
parent
066674b658
commit
c20ff0335d
@ -97,6 +97,9 @@ class Imagetracerjs (inkex.EffectExtension):
|
||||
exportfile = "imagetracerjs.png"
|
||||
else:
|
||||
exportfile ="/tmp/imagetracerjs.png"
|
||||
|
||||
if img.mode != 'RGB':
|
||||
img = img.convert('RGB')
|
||||
img.save(exportfile, "png")
|
||||
|
||||
nodeclipath = os.path.join("imagetracerjs-master", "nodecli", "nodecli.js")
|
||||
|
Reference in New Issue
Block a user