p { margin-bottom: 0.21cm; }
Hi all
I have a numeric matrix
data I scale it linearly to be able to reduce it to unsigned 8bits. I
create a raster object from scaled data and setting data type to
"INT1U".I want to export this data to png indexed image
using my own color table. The pixel value of exported png images must
remain unchanged because from applying a transformation geophysical
can be derived. writeRaster of raster package do not lets write
raster object in png format, it allow for write scaled data in other
formats (it keeps pixel value although i am not able to add my color
table). Do you known how could this indexed png images generated
this with R?.
Thank's in advance
Josep
[[alternative HTML version deleted]]