Hello all-

I have a question related to encoding.  I'm using a seperate program which
takes either 16 bit or 8 bit (flat binary files) as inputs (they are raster
satellite imagery and the associated quality files), but can't handle both
at the same time.  Problem is the quality and the image come in different
formats (quality- 8bit, image- 16bit).  I need to switch the encoding on the
quality files to 16 bit, without altering anything else (they are img files
right now).  I imagine this is a fairly simply process, but I haven't been
able to find a package or anything which can tell me how to do it- perhaps
I'm searching the wrong terms, but I did look.  Is there any methods to do
this quickly?  Ideally, the solution would involve reading in a list of
files and replacing the original with the new, 16 bit version, as I have
over 300 files to convert.  I hope that's clear.  Thanks in advance!

-- 


Brian Buma

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to