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

Home » Public Forums » archive » TIFF Read/Write Bug?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
TIFF Read/Write Bug? [message #84275] Wed, 08 May 2013 13:14
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

Is there a problem writing signed integer arrays to TIFF files?

Here is my code:

outFilename = Filepath('forest.tif')
ageImage = Fix(ageImage)
Help, ageImage
AGEIMAGE INT = Array[8600, 8407]
ageImage[missingIndices]=-999
Write_Tiff, outFilename, Reverse(ageImage,2), /SHORT, /SIGNED
testImage = Read_Tiff(outfilename)
testimage = Reverse(testimage,2)
Help, testImage
TESTIMAGE BYTE = Array[8600, 8407]

This is IDL 8.2.2, 64-bit, on Windows 7.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Removing unwanted data from a structure
Next Topic: An IDLgrPolyline drawing position bug that's THICK dependent

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

Current Time: Wed Oct 08 15:06:34 PDT 2025

Total time taken to generate the page: 0.00560 seconds