Image to tiles

Gimp process
Gaussian blur 1-3 px x5
Mode -> Indexed using palette
Mode -> RGB
Save detailed palette image

Edges
Enhance -> Despeckle
Edge detect -> Sobel 1.0
Threshold
Save edge image

Blocks
Move to larger blocks / pixelate
Enhance -> Despeckle
Save block imag

Inkscape for edge finding
Extensions -> Modify path -> Flatten beziers 2.0
Gives one path with all segments
Save as SVG.
Info on edge detection, link, link,
Making an Inkscape Extension
Inkscape docs: main, SVG, SVG, Python Pillow,
Start from copy of Jitternodes extension.

Blocks
Save image to blocks as single pixels
Iterate over block pixels
-Add connected pixels to queue.
-Result is blocks with (pixel set, # of pixels, longest edge).


,

Blocks
Save image to blocks as single pixels
Iterate over block pixels
-Add connected pixels to queue.
-Result is blocks with (pixel set, # of pixels, longest edge).