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

Home » Public Forums » archive » IDL save files with programs and files
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: IDL save files with programs and files [message #27889 is a reply to message #27805] Fri, 09 November 2001 09:37 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
I'll send it to you.... It is a real hack and I don't need to embarrass
myself ;)

But, anyone is welcome to it if they ask.

-Rick


"Rob Dimeo" <robert.dimeo@nist.gov> wrote in message
news:cb539436.0111090600.6c92c854@posting.google.com...
> Hi Rick,
>
> Craig pointed out an important issue when he asked once you have the
> image file appended to the save file with the resolved routines,how do
> you actually read it into a procedure from the main level where it is
> restored?
>
> I think I can see how your routine would work for what I need though.
> We are including a PNG image in the splash screen of a widget
> application (this program will be distributed as a runtime program
> with an embedded IDL license). I think that I can just use
> notify_realize keyword when I realize the top-level base of the
> program to get the PNG data (that has been converted using your
> routine).
>
> I'd like to give it a shot if you could send me your code or post it
> here.
>
> Thanks,
>
> Rob
>
> "Rick Towler" <rtowler@u.washington.edu> wrote in message
news:<9sf31r$2aee$1@nntp6.u.washington.edu>...
>> Wow, I need to check out Craig's CMSAVE routine. It might have saved me
>> some work...
>>
>> I just wrote a program a few weeks back that converts a 24 bit .PNG file
to
>> an IDL .pro file to get around the inability to save data and routines
>> together in one save file. You call the function and it returns an
array
>> containing the image. I have only used this on a relatively small image
>> (maybe 120x120) so I have no idea what the upper bound would be. I am
sure
>> there are a load of issues when doing something like this but it worked
>> great for a little image in the "About" dialog and it didn't impact
>> application performance.
>>
>> Craig's approach would be much cleaner but you are welcome to the code.
>>
>> -Rick
>>
>>
>> "Rob Dimeo" <robert.dimeo@nist.gov> wrote in message
>> news:cb539436.0111071002.3618679e@posting.google.com...
>>> Hi,
>>>
>>> How can I create a save file that consists of resolved routines, one
>>> of which requires a .PNG file? Ultimately I want to create a run-time
>>> version of the program so I'm not sure if Craig Markwardt's CMSVLIB
>>> routines would be applicable.
>>>
>>> Thanks,
>>>
>>> Rob Dimeo
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Histogram Tutorial Needed (Deperately!)
Next Topic: Re: Using delta functions to plot?

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

Current Time: Thu Oct 09 22:54:30 PDT 2025

Total time taken to generate the page: 0.24673 seconds