Stefano Scardigli writes:
> nothing is changed
>
> IDL> img=read_tiff("V13A5.00.tif",/unsigned)
> IDL> help,img
> IMG LONG = Array[1000, 1000]
> IDL> print,max(img)
> 65535
> IDL> write_tiff,"prova.tiff",img,/SHORT
> IDL> print,max(img)
> 255
> IDL> help,img
> IMG BYTE = Array[1000, 1000]
Well, I don't know what to tell you. That's not what
happens when I type the code. :-(
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Se****e ma de ni thui. ("Perhaps thou speakest truth.")


|