&gt; Ideally, you should use whatever color is going to be in the background when you show the image.<br><br>Agreed, but the problem is I&#39;m making a collage of pictures where the new pictures are placed above previous pictures, so there&#39;s no one consistent background color.<br>
<br>&gt; Even better would be if you could blend it with a transparent
background, and show it that way, <br>&gt; but that would require an alpha
channel, and I don&#39;t think jpeg supports that.<br><br>I&#39;m converting to BMP and assigning an alpha channel so this is indeed a possibility. Another thought I had was making a drop shadow effect, which the thin gray edge outside of my white border already approximates.<br>
<br>Interestingly, when I&#39;ve tried making a transparent canvas in PIL (which I&#39;d have to do to add an alpha border) in the past, I consistently got weird artifacts in the transparent areas. The workaround I used was to make a small blank PNG that was pure alpha and resize it as necessary.<br>
<br>If I test out the alpha border I&#39;ll post back to this thread.<br><br><br><br><br>