comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » write_tiff integer format
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: write_tiff integer format [message #62505 is a reply to message #62425] Thu, 11 September 2008 09:05 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
Geo logo wrote:
> I am a newcomer of IDL, when I try use write_tiff to write a integer
> type tiff, the result always wrong.
>
> input = intarr(1000,1000)
> write_tiff, 'outimag.tif' , input
>
> the result would be a byte type tiff file, and when I use
>
> write_tiff, 'outimag.tif' , input,/short, result will be unsigned
> int
>
> write_tiff, 'outimag.tif' , input,/long, result will be long integer.
>
> could somebody help me about how to output a integer type tiff file.
> Thanks

well, from the help file is seems to be impossible.
If you have negative values, you might want to save as float..

Jean
[Message index]
 
Read Message
Read Message
Previous Topic: Undefined variables in structures
Next Topic: Re: Contour Issues... Help please

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 08:20:04 PDT 2025

Total time taken to generate the page: 2.72082 seconds