I know a raster format is essentially a grid of cell values that may have values associated with color, but I'm unsure of how the primitive types factor into the format. In addition if I need to write a conversion function for a 'double' raster to an integer raster what is that referring to as in how does the logic work?
Is it iterating each cell and simply casting a value? I am using the sextante library to write this java function. I assume the conversion will essentially be one raster converted and then used with a grid reader of some kind.