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 #27912 is a reply to message #27805] Thu, 08 November 2001 15:03 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
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: Fri Oct 10 02:18:45 PDT 2025

Total time taken to generate the page: 1.03564 seconds