Try imwrite with 'compression' option set to 'none'. Navan --- anujack_21 <> wrote: > Hi all, > > Can a raw data file be stored as an image file > without any loss? > > I read a raw data file into matlab using fread > command( the file size > is around 35MB and is 12 bit precision).When I used > imwrite to save > this raw data file to an image file, there was loss > of data i.e, the > raw data file(35MB) and the .tiff file(17MB) were > not of the same > size.And the presision of the .tiff file was only 8 > bits as against > the raw data which was 12 bits. > > I would like to know if there is a way in matlab to > write the raw > data file to an image file without any kind of loss > or compression. > > Thanks in advance, > Anuradha Agatheeswaran. __________________________________ |
|