Re: DESCRIPTION field missing from read_tiff() [message #48755] |
Thu, 18 May 2006 19:37 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
M. Katz writes:
> Fantastic! Thanks, David and Jeff.
> Now wouldn't it make sense to sneak that wonderful info structure into
> read_tiff() somewhere?
I think you could probably manage that in less than three
lines of a BETTER_READ_TIFF program! :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
|
|
Re: DESCRIPTION field missing from read_tiff() [message #48758 is a reply to message #48757] |
Thu, 18 May 2006 17:31  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
M. Katz writes:
> I just noticed, sadly, that the write_tiff procedure has a description
> field
>
> WRITE_TIFF, Filename [, Image]. . . [, DESCRIPTION=string] . . .
>
> but read_tiff can't help you get your string back
>
> Result = READ_TIFF( Filename [, R, G, B] . . . {S.O.L.} )
>
> Any suggestions for how to tuck some information away in the tiff for
> later retrieval within IDL. I'd love to not have to create separate
> descriptive text files.
You can access this information with the QUERY_TIFF function. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|