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

Home » Public Forums » archive » Re: 16 bit Tiff image
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: 16 bit Tiff image [message #58927 is a reply to message #58926] Wed, 27 February 2008 22:52 Go to previous messageGo to previous message
Stefano Scardigli is currently offline  Stefano Scardigli
Messages: 7
Registered: February 2008
Junior Member
On Wed, 27 Feb 2008 16:45:54 -0700, Jean H wrote:

>>> IDL> img=read_tiff("V13A5.00.tif",/unsigned)
>
>>> and now both img and img2 are LONG, but the reloaded img2 is still shrunk
>>> to 255 levels (ie 8 bit)!
>>
>> I still don't think so. Are you being *very*
>> careful with your variables? You might try using
>> a .reset after you write the file and before you
>> read it again. I think it is not possible to get
>> what you are getting. :-)
>>
>> Cheers,
>>
>> David
>
> Could it be a litle/big endian problem?
> after reading img, try to do:
> SWAP_ENDIAN_INPLACE, img
> and see if it helps (or if it brings you wayyyyy off)
> Jean

I haven't SWAP_ENDIAN_INPLACE in my IDL 5.1 !!!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Posting html form data with idlNetURL?
Next Topic: AX and AZ keywords of iSurface and iVolume

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

Current Time: Wed Oct 08 17:30:54 PDT 2025

Total time taken to generate the page: 0.00428 seconds