This is a utility for taking a raster image and cutting it on a CNC or laser using vector strokes. The outputs are an svg file and a nc file. Use whichever is easier for you. If you build everything here on a raspberry pi and execute the following command ./img2svg steve-jobs-biography.png it will generate steve-jobs-biography.svg and steve-jobs-biography.nc in this directory - it takes about a minute on my pi3. (there's some minimal info on what to install in the comments at the head of the img2svg script file) This is the result of an evening's hack, building on some previous code from an experiment using a vinyl cutter a few years ago. You can read about it at https://www.instructables.com/id/Scratch-2/ I make no promises that these scripts will work for every image you try with them, but for a proof-of-concept I think it's fairly successful. For now, this is very much aimed at fellow programmers. It's too crude to be used by the general public. Future work will be to cut inside the outlines (or in the case of the laser, do an area-fill of the dark parts of the image) - the code that will eventually do this is in the 'erode' subdirectory, but has not yet been worked on.