open inkscape
drag&drop image into inkscape
select the image
select from the menu: "Path -> Trace Bitmap"
select in the upcoming dialog "Invert Image"
press Ok
delete the original image
now you can export the path to openscad and save it from there to .stl