Dear list,
I would like to import an image file which has a header. It is an ordinary binary file with 2 bytes per pixel, with an extension of 950x1536 rows and columns, and an image header of 256. r.in.bin seems not to account for any header information and r.in.gdal does not support this format. How can I get this images in GRASS?
Kind regards,
Anja
Anja Drews wrote:
I would like to import an image file which has a header. It is an
ordinary binary file with 2 bytes per pixel, with an extension of
950x1536 rows and columns, and an image header of 256. r.in.bin seems
not to account for any header information and r.in.gdal does not support
this format. How can I get this images in GRASS?
Remove the header with dd, e.g.:
dd if=infile of=outfile bs=256 skip=1
--
Glynn Clements <glynn@gclements.plus.com>