<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Jun 22, 2010, at 1:25 PM, Ludovic Autin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi, <br><br>I would like to know if its possible to use a PIL or a raw image as a background image.<br>And/Or can you help me figure out how to do it (maybe using some volume from image functinoality).<br>Ideally, I would like to be able to update in realtime this background image (either using a thread, or a callback)</div></blockquote><br></div><div>Hi Ludovic,</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>The developer who could authoritatively answer your question (Greg Couch) is out this week, so I'll take a stab at it: I don't think so. :-) However, if your goal is to, say, make a movie with a background you provide then you could write out image files with a transparent background (described in this message: <a href="http://www.cgl.ucsf.edu/pipermail/chimera-users/2008-January/002197.html)">http://www.cgl.ucsf.edu/pipermail/chimera-users/2008-January/002197.html)</a> and use most any image-processing program to compose the Chimera images with the background(s) you prefer.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Despite my flippant answer in the first sentence, I don't really know if it is possible to directly change the background. When Greg gets back I hope he will comment on that. Perhaps you could say more about what your ultimate goal is?</div><div><br></div><div>--Eric</div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><span class="Apple-converted-space"> <span class="Apple-converted-space"> </span></span>Eric Pettersen</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><span class="Apple-converted-space"> <span class="Apple-converted-space"> </span></span>UCSF Computer Graphics Lab</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="5" style="font: 16.0px Helvetica"><span class="Apple-converted-space"> </span><a href="http://www.cgl.ucsf.edu">http://www.cgl.ucsf.edu</a></font></p><br class="Apple-interchange-newline"></div></span> </div><br></body></html>