Seems too obvious to mention, but:<br><br>
src_image2 = src_image.resize( (20,20) )<br><br><br><br><br><div class="gmail_quote">On Fri, Nov 21, 2008 at 12:22 PM, Christopher Brooks <span dir="ltr">&lt;<a href="mailto:cab938@mail.usask.ca">cab938@mail.usask.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I want to resize an image using something like:<br>
<br>
src_image.resize( (20,20) )<br>
<br>
This doesn&#39;t work, since resize() returns the new image. &nbsp;So something like:<br>
<br>
src_image = src_image.resize( (20,20) )<br>
<br>
works instead. &nbsp;Problem is that I have other references to the image that<br>
src_image is pointing to, and I want them to be updated as well. &nbsp;I thought<br>
maybe there would be a load() that takes an Image as a parameter and thus<br>
changes the underlying object but not the reference, but this doesn&#39;t seem<br>
to be the case.<br>
<br>
Any thoughts on part of the library I&#39;m missing?<br>
<br>
Chris<br>
<br>
--<br>
Christopher Brooks, MSc.<br>
Web: <a href="http://www.cs.usask.ca/%7Ecab938" target="_blank">http://www.cs.usask.ca/~cab938</a><br>
Mail: Advanced Research in Intelligent Educational Systems Laboratory<br>
 &nbsp; &nbsp; &nbsp;Department of Computer Science<br>
 &nbsp; &nbsp; &nbsp;University of Saskatchewan<br>
 &nbsp; &nbsp; &nbsp;176 Thorvaldson Building<br>
 &nbsp; &nbsp; &nbsp;110 Science Place<br>
 &nbsp; &nbsp; &nbsp;Saskatoon, SK<br>
 &nbsp; &nbsp; &nbsp;S7N 5C9<br>
<br>
<br>
<br>
_______________________________________________<br>
Image-SIG maillist &nbsp;- &nbsp;<a href="mailto:Image-SIG@python.org">Image-SIG@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/image-sig" target="_blank">http://mail.python.org/mailman/listinfo/image-sig</a><br>
</blockquote></div><br>