Raster to 3D Example

This example shows how to convert an image to 3D vector features.
The source is the Safe logo in PNG format:

User-added image


The output is saved to PDF format (you need the latest version of Adobe Reader to view the file):

User-added image


The main steps in the attached workspace are as follows:
  • Coercing raster to points
  • Replacing points with squares, which builds a continuous coverage
  • Dissolving internal boundaries
  • Smoothing outer boundaries
Note that this method works well only with simple rasters with well defined color areas. It can work with gradients but the output will be much bigger. For example, a 3D FME logo made from an image of approximately the same size is above 12 megabytes verses 40 kilobytes for this PDF. This method is also not suitable for scanned maps or photos. Images with lossy compressions, such as used in JPEG, also will give bad results.