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

Home » Public Forums » archive » Re: Using callable intf to C w/ READ_TIFF
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
Re: Using callable intf to C w/ READ_TIFF [message #37399] Sun, 14 December 2003 03:33
Chris Lee is currently offline  Chris Lee
Messages: 101
Registered: August 2003
Senior Member
Judy wrote:
> Help!!!
>
> When I try to make the following call in a C program:
>
> IDL_ExecuteStr("image = READ_TIFF(\"image.tif\")");
>
> IDL complains:
>
> IDL> % Variable is undefined: READ_TIFF.
> IDL> % Execution halted at: $MAIN$
>
> The file image.tif is present. When I make this call using the IDL
> GUI, there is no problem.
>
> I am using IDL on Win2k, compiling under Cygwin's gcc, in case that
> helps.
>
> I have many other successful calls using IDL_ExecuteStr, but this one
> is failing.
>
> Thanks in advance,
> J

READ_TIFF is using DLM code, which is likely written in C. When you type
that string into an IDL command line you get "Loaded DLM: TIFF" in
response.

Some other trickery is required to call it from C, possibly calling
ExecuteStr with

DLM_LOAD, "tiff"


Chris.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: 2D FFT Slow. Any ideas? fft2()
Next Topic: Re: Does IDL have function for pseudoinverse of a matrix

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

Current Time: Wed Oct 08 14:55:47 PDT 2025

Total time taken to generate the page: 0.00557 seconds