Quick and Easy convert an Image to STL pixel values as z coordinate. Relies on Blender.
1.Copy the Script into the scripting editor in Blender (2.8 or newer). 2.Change the Filepath to the Image you want to convert and hit run. Note: Can take some time on larger photos, see the progress in the system console, because the rest of blender will become unresponsive while calculating.