Heightmap extrusion/displacement for low-relief chocolate

Example 3dp rocks lithophane configuration:


Example result model, but base corners are not rounded on the XY(ie. base) plane, which is not what I want:

Example gmic 3.x command:

~/Productions/pix2chocolate_gmiconly$ gmic elevate_linear_gradient.png elevation3d. 0.75 output_obj elevate_linear_gradient.obj
[gmic]-0./ Start G'MIC interpreter.
[gmic]-0./ Input file 'elevate_linear_gradient.png' at position 0 (1 image 1735x3002x1x4).
[gmic]-1./elevation3d/ Generate 3D elevation of image [0], with z-factor 0.75.
[gmic]-1./ Output 3D object [0] as Wavefront 3D object file 'elevate_linear_gradient.obj' (with materials).
  > File 'elevate_linear_gradient.obj' (5208470 vertices, 5203734 primitives).
    - Export vertices: Done.  
    - Export materials: Done.  
    - Export primitives: Done.  
[gmic]-1./ Display 3D object [0] = 'elevate_linear_gradient.png' (5208470 vertices, 5203734 primitives).

[gmic]-1./ End G'MIC interpreter.


But… corners are not nice to see and the polygons count is extremely high… I have not found a resolution parameter for the elevate3d command.

Attached is the Inkscape SVG file for generating the heightmap:
chocolate_bonsoir_heightmap

Such SVG XML files are very easy to generate from open-source online vector wysiwig editors…
The pipeline would be: wysiwig in-browser svg-like editor > svg file with blurred elements to mimic height elevation gradients > REST API > gmic(-py) generation > 3d model response > in-browser webGL viewer.