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

Home » Public Forums » archive » Re: TIFF Read/Write Bug?
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: TIFF Read/Write Bug? [message #84274 is a reply to message #84273] Wed, 08 May 2013 15:19 Go to previous message
Heinz Stege is currently offline  Heinz Stege
Messages: 189
Registered: January 2003
Senior Member
Hi David,

below is the result from my IDL 8.0.1, 32 bit, WinXP. No error.

IDL> fn='F:\scans\Yms0001raw.tif'
IDL> b=read_tiff(fn)
% Loaded DLM: TIFF.
IDL> help,b
B UINT = Array[4, 4704, 6992]
IDL> b=fix(b)
IDL> b=reform(b[1,*,*])
IDL> help,b
B INT = Array[4704, 6992]
IDL> write_tiff,'test4.tif',b,/short,/signed
IDL> c=read_tiff('test4.tif')
IDL> help,c
C INT = Array[4704, 6992]
IDL> print,array_equal(b,c)
1
IDL> print,!version
{ x86 Win32 Windows Microsoft Windows 8.0.1 Oct 5 2010 32
64}

Cheers, Heinz
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Help in Astronomy /curvefitting
Next Topic: Maximum number of elements in a hash

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

Current Time: Wed Oct 08 18:05:05 PDT 2025

Total time taken to generate the page: 0.00489 seconds