<p>Is it possible to convert an image image to STL file format? </p>

<p><img src="https://i.stack.imgur.com/Y6SYj.png" alt="png image"></p>

<p>E.g. I don't need the coloring, I need the lines.</p>

[{'answer_id': 12011, 'author': 'Trish', 'author_id': 8884, 'author_profile': 'https://3dprinting.stackexchange.com/users/8884', 'pm_score': 1, 'selected': False, 'text': '<p>PNGs are 2-dimensional picture data files. STL however is a 3-dimensinal surface data files. The two are not inherently transformable into one another, as there simply is no 3rd dimension encoded in the PNG.</p>\n<p>However, there are ways to generate a 3rd dimension from a color picture:</p>\n<ul>\n<li><a href="https://en.wikipedia.org/wiki/Lithophane" rel="nofollow noreferrer">Lithophanes</a> take color information and use that as a degree of deviation from a base plane.</li>\n<li>Using 3D design software that supports importing image data, one can trace the areas in 2D and <em>extrude</em> them to different heights or <em>emboss</em> the patterns into a block, even with different depths for each color.</li>\n</ul>\n'}, {'answer_id': 12012, 'author': 'fred_dot_u', 'author_id': 854, 'author_profile': 'https://3dprinting.stackexchange.com/users/854', 'pm_score': 2, 'selected': False, 'text': '<p>I suggest your objective can best be accomplished by converting the image to a single color vector file. You can do this with Inkscape (free, Linux, Windows, Mac) by combining the built-in bitmap tracing feature with some manual editing. I attempted to do so, but the coarseness of the image would result in excessive manual edit time. It may even be faster to reduce the opacity of the image and create a manual tracing on a second layer.</p>\n\n<p>Once you have a vector file, you can use any number of 3D modeling programs to convert the file to a 3D STL. Fusion 360, Tinkercad and OpenSCAD allow import of SVG files to be extruded to user-specified thickness.</p>\n'}, {'answer_id': 12020, 'author': 'Nir', 'author_id': 170, 'author_profile': 'https://3dprinting.stackexchange.com/users/170', 'pm_score': 1, 'selected': False, 'text': '<p>First you need a single color png image, you can do this by opening the file in any image editor (even Paint included with Windows) and painting white over all the colored pixels (more advanced image editors maybe able to do this automatically). </p>\n\n<p>Then you can use OpenSCAD (free download from openscad.org), enter the following code: (obviously, replace the file path with your own)</p>\n\n<pre><code>surface("C:\\\\Users\\\\Nir\\\\Documents\\\\test.png",center=true); \n</code></pre>\n\n<p>Now press F5 (at this point you\'ll see a low quality preview), then F6 (to do a full render and view an high quality preview), then F7 to save the STL</p>\n\n<p>The resulting model will be higher then you want but you can scale the result STL in your slicer (or use the OpenSCAD scale command if you prefer code)</p>\n'}, {'answer_id': 14735, 'author': 'John Bradbury', 'author_id': 25207, 'author_profile': 'https://3dprinting.stackexchange.com/users/25207', 'pm_score': -1, 'selected': False, 'text': '<p>For things like a coat of arms, you do not require a full 3D conversion, essentially all you need is a lithograph-like effect. The best program I\'ve found for such conversions is 3D Builder which is a free Microsoft download for windows users (yes, I was surprised too). It can use either color or degrees of greyscale shading to determine the z-axis depth of each region in the picture. Makes the cleanest conversion I\'ve found so far. Exports as a .3mf file but can be readily converted to an .stl for 3D printing (using something like <a href="https://www.swiftconverter.com/convert_3d" rel="nofollow noreferrer">SwiftConverter</a> for example). Also has an option to invert the conversion which I\'ve found quite useful.</p>\n'}]
['https://3dprinting.stackexchange.com/questions/12009', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/19339/']