Re: [Geotools-devel] coverage styling freezes

2010-08-19 Thread andrea antonello
Quick update. The samplemodel of the image is modified by the styling operation. Ad since b&white map was in MultiPixelPackedSampleModel, it resulted nicely handled (those images are heavily compressed). After the styling the image has a PixelInterleavedSampleModel model, which very probably makes

[Geotools-devel] coverage styling freezes

2010-08-19 Thread andrea antonello
Hi, as part of the new raster style editor for udig I am trying to style a black and white geotiff. My first test is to just make two ColorMapEntry to change the two main colors to something else: ColorMap colorMap = sf.createColorMap(); Color one = Color.green; Color two