ImageRasterizer
From fmepedia
ImageRasterizer is a Workbench Transformer.
Draws input point, line and polygon features onto a color raster filled with the background color. The fme_color attribute of the input vector features is used to generate pixel values. Features without an fme_color attribute will be discarded.
When specifying the size of the output raster either the desired dimensions or the desired cell size can be provided. If you wish to set the output raster size using dimensions, set the Rows/Columns or Cell Size to RowsColumns and specify the values for both the Number of Columns and Number of Rows. If you wish to set the output raster size using cell size, set the Rows/Columns or Cell Size to CellSize and specify the values for both the X Cell Spacing and Y Cell Spacing.
The Interpretation Type parameter sets the interpretation of the output raster. Pixel values for red, green, and blue bands will be taken from the corresponding component of a feature's fme_color attribute. Pixel values for gray bands will be the average of the fme_color components. Pixel values for alpha bands are not taken from the fme_color attribute and will always be the maximum value of the data type to represent full opacity.
The Background Color parameter sets the background color of the raster.
If the Fill Background with Nodata parameter is Yes, the background color will also be flagged as the nodata value for each raster band.
If the Group By parameter is set to an attribute list, one raster per group will be produced.
If the Anti-Aliasing parameter is Yes, the output lines will be smoothed using an anti-aliasing algorithm.
The Tolerance parameter is the maximum normalized distance from a line segment or polygon vertex to a pixel to be rendered. For example a tolerance of 1.0 will draw all pixels touched by the input vector line, while a tolerance of 0.0 will draw only those pixels where the input vector line passes directly through their center. Tolerance can only be selected when anti-aliasing is off.
The Ground Extents parameters may optionally be used to specify the extents of the output raster. All four parameters must be specified in order for them to be applied. If the extents are not explicitly specified, the output raster extents will be determined by the union of the bounding boxes of the valid input vector features.
