I want to create rasters from vector data. I've used ImageRasterizer and set background color into white, then write data as geotif with 8BiitsPerCell parameter. Finally got 24bit raster with 16,7milions colors but I need 256 color raster with black color on 0 index palette position, and white(background) on 255.
Solved
How to create 256 color raster, where black color is exact on 0 index palette position, and white on 255?
Best answer by geosander
@arekpierchala
You have to set the Interleaving Type on the Format Parameters tab (on the GeoTIFF writer) to BIP. That will do the trick.
According to the docs, palettes in FME are "Band Interleaved by Pixel" (BIP).
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.