<div dir="ltr">He was probably overworked.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 12, 2014 at 6:01 AM, J. Vuletich (mail lists) <span dir="ltr">&lt;<a href="mailto:juanlists@jvuletich.org" target="_blank">juanlists@jvuletich.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
Quoting tim Rowledge &lt;<a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>&gt;:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 11-10-2014, at 12:23 PM, J. Vuletich (mail lists) &lt;<a href="mailto:juanlists@jvuletich.org" target="_blank">juanlists@jvuletich.org</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes. In Squeak there is a bug in #asFormOfDepth: . The last lines are:<br>
<br>
        &quot;Special case: For a 16 -&gt; 32 bit conversion fill the alpha channel because it gets lost in translation.&quot;<br>
        (self depth = 16 and:[d= 32]) ifTrue:[newForm fillAlpha: 255].<br>
<br>
But they should be as in Cuis:<br>
<br>
        &quot;If we build a 32bpp from one of smaller depth,<br>
        it will have zero in the alpha channel (until BitBlt is fixed!)&quot;<br>
        d = 32 ifTrue: [<br>
                newForm fixAlpha ].<br>
<br>
I think this should fix your problem.<br>
</blockquote>
<br>
Yup. Given that there is a bitblt rule specifically to fix this problem, and a method specifically provided to use said bitblt to specifically fix this problem, I’m more than a bit puzzled as to why the most important bit of code (to be specific) in the image that needs this specific bit of code, doesn’t, specifically, have it. Even weirder is that Andreas wrote it and five years later carefully rewrote asFormOfDepth: to deal with this problem *and didn’t use his own careful fix*.<br>
</blockquote>
<br></span>
Yes. I&#39;m puzzled too. Anybody can shed some light on this?<br>
<br>
In any case, the Cuis way works.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Besides, the sample code I sent gets transparent, although the stuff in the Form, 16rFF000000, is opaque black. This is because of another bug, this one at #colorFromPixelValue:depth: . I suggest taking the code verbatim from Cuis.<br>
</blockquote>
<br>
Probably a good idea.<br>
<br>
tim<br>
--<br>
tim Rowledge; <a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" target="_blank">http://www.rowledge.org/tim</a><br>
Useful random insult:- Can&#39;t find log base two of 65536 without a calculator.<br>
</blockquote>
<br></span>
Cheers,<br>
Juan Vuletich<br>
<br>
<br>
</blockquote></div><br></div>