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

Home » Public Forums » archive » Re: Jpeg in a .sav file
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: Jpeg in a .sav file [message #59241] Thu, 13 March 2008 17:05 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Dan Larson wrote:

> am I missing something here, in terms of IDL design? Is there some
> philosophical reason why one *shouldn't* want to include an embedded
> image in a .sav file?

No. I can't see any philosophical reason why and there are no general
technical reasons why one couldn't do this. I can't think of any
specific technical hurdles for IDL except that it would (probably)
require a change to the .sav file format breaking forward compatibility.

There are certainly cases where this would be useful. Embedding logos
or icons is one, or LUT's or... Sometimes you want to distribute an
application with data that is not accessible to the user so packaging
them with image files or .dat files or even other .sav files isn't
ideal. Though without further changes to the .sav file format data
stored in a "hybrid" format wouldn't be protected whereas now at least
the data is obfuscated inside a function.

I doubt any of the reasons would justify breaking forward compatibility.
For the 10 users ITT makes happy, there will be hundreds bent that
they can no longer load IDL 8 .sav files in their older versions. So I
think that variations on the hack I posted are going to be the only
route, for now.

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: unsigned long long and min/max operator
Next Topic: Re: WindowsXP IDLWorkbench hang issue

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

Current Time: Fri Oct 10 10:50:13 PDT 2025

Total time taken to generate the page: 0.51393 seconds