<div dir="ltr">A long time ago, I saw an exchange where there was discussion about storing the image with the executable itself - when I first saw this message, that&#39;s what I thought.  So I googled, and found:<div><a href="http://www.kurtz-fernhout.com/squeak/readme.txt">http://www.kurtz-fernhout.com/squeak/readme.txt</a><br>
</div><div>Not sure if it is the same thing, but interesting.</div><div><br></div><div>If you follow the logic a bit, you see if call this primitive:</div><div><div><br></div><div>snapshotEmbeddedPrimitive</div><div><span class="" style="white-space:pre">        </span>&lt;primitive: 247&gt;</div>
<div><span class="" style="white-space:pre">        </span>^nil &quot;indicates error writing embedded image file&quot;</div></div><div><br></div><div>Not sure what the primitive it doing (haven&#39;t looked into the C / VM code).</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 25, 2013 at 9:19 AM, Chris Muller <span dir="ltr">&lt;<a href="mailto:ma.chris.m@gmail.com" target="_blank">ma.chris.m@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I just came across SmalltalkImage&gt;&gt;#saveAsEmbeddedImage.  The comment<br>
for the method states:<br>
<br>
  &quot;Save the current state of the system as an embedded image&quot;<br>
<br>
Brilliant!<br>
<br>
Could someone please elaborate for me?<br>
<br>
</blockquote></div><br></div>