Added back in raster optimising, it's not perfect but it's mostly there. Only a little slow parsing white vertical space now.
Found that raster optimisation code seems to be changing the pixel data at the end of the line somewhere. I'm not sure how since it's meant to just be cutting part of the data line out not changing it. will need to investigate further.
Added option to the menu for users to disable raster optimisations.
Changelog 2015-04-20
Trying to fix a bug with exporting rasters on Mac
"""
###
...
...
@@ -90,7 +93,7 @@ import time
#Image processing for rastering
importbase64
fromPILimportImage
importImageOps
fromPILimportImageOps
importsubprocess
importsimplestyle
...
...
@@ -998,7 +1001,7 @@ class Gcode_tools(inkex.Effect):
ifnothasattr(parent,'glob_nodePositions'):
#Get the XY position of all elements in the inkscape job.