RasterRGBCreator
Creates a feature with a raster of the specified size with an RGB value and sends it into the workspace for processing.
Parameters
Raster Properties
When specifying the size of the output raster, either the desired dimensions or the desired extents can be provided. The choice you make here will determine which additional parameters are enabled in the transformer.
To set the output raster size using dimensions, set this parameter to RowsColumns.
To set the output raster size using extents, set this parameter to Extents.
These parameters specify the number of columns and rows the raster will have. This must be at least one.
The X Cell Origin and Y Cell Origin parameters specify the origin for each cell. This can be used to specify whether each cell's data point is at the lower-left or center (or somewhere else) within the cell.
These parameters specify the spacing between cell elements. This must be greater than zero.
The parameters specify the origin for the upper-left corner of the raster as a whole.
These parameters specify the origin for the lower-right corner of the raster as a whole.
This parameter specifies the rotation of the raster.
Interpretation
Specifies whether this raster will contain a palette.
Specifies the data type each cell will contain if the raster does not contain a palette.
Specifies the key data type for each palette entry if the raster contains a palette.
The Palette Color Type parameter specifies the value data type for each palette entry if the raster contains a palette.
Data Values
This parameter specifies which type of raster should be created:
- Single Value means each cell in the raster will be set to the maximum raster value.
- Checkered Pattern means alternating cells in the raster will be set to values between the minimum and maximum raster values.
- Checkerboard means alternating blocks of data in the raster will be set to the minimum and maximum raster values, in a standard eight-by-eight checkerboard pattern. The sizes of these blocks of data are variable, and dependent on the number of rows and columns specified. If the number of rows and columns are not multiples of eight, the remaining data will be set to either nodata values or the minimum value.
These parameters specify the range of values each cell in the raster can take. For grayscale color models (Gray8 and Gray16), only the red component value will be used.
Note: The Color Value parameters can be edited by clicking the colored square to the right of the text field, or by editing the contents of the field directly. The color must be specified as <red>,<green>,<blue> where each of <red>, <green>, and <blue> is a number between 0 and 1.
This parameter specifies the nodata value for this raster. For grayscale color models (Gray8 and Gray16), only the red component value will be used.
Note: The Color Value parameters can be edited by clicking the colored square to the right of the text field, or by editing the contents of the field directly. The color must be specified as <red>,<green>,<blue> where each of <red>, <green>, and <blue> is a number between 0 and 1.
The parameters specify the range of values for the alpha channel (0-1) that each cell in the raster can take.
This parameter specifies the alpha channel value (0-1) for the nodata value for this raster.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
Transformer Categories
FME Licensing Level
FME Professional edition and above
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.
Tags Keywords: ColorRasterCreator ColourRasterCreator