Archive creation for newbies

stéphane ducasse ducasse at iam.unibe.ch
Sat Nov 19 08:22:14 UTC 2005


But you can embed any data that way.
So you can compress your pictures and store them as methods then  
unzip then
on the fly.

On 19 nov. 05, at 00:20, Eric Scharff wrote:

> Putting the images into methods is intriguing for my small
> images.  That way the images would even be managed by Monticello
> version control.  There are already 48K worth of images (when
> represented as method source) in my application, and there are
> likely to be more.
>
> The problem with this scheme is that for extremely large images
> (background images, for example), this scheme would not work
> because the resulting uncompressed images (which is returned by
> Form>>storeOn:) are immense.  I could base64 the large jpgs,
> perhaps, but that wouldn't be efficient either.
>
> Is there an example of using SAR for this?  Or is SAR not the
> preferred method of doing it?

you can use sar and load the image in the preamble.
Now that way you have to create a sar from your MC package if you
use MC which I suggest. I will send you an example...

>
> -Eric
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>
>




More information about the Squeak-dev mailing list