<font><font face="arial,helvetica,sans-serif">Oops, I was going to make note of the file size. 1.2MB</font></font><div><font><font face="arial,helvetica,sans-serif"><br clear="all"></font></font><div>Vincent</div><br>
<br><br><div class="gmail_quote">On Sat, Oct 13, 2012 at 10:31 PM, Chris Angelico <span dir="ltr"><<a href="mailto:rosuav@gmail.com" target="_blank">rosuav@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Sun, Oct 14, 2012 at 3:23 PM, Vincent Davis <<a href="mailto:vincent@vincentdavis.net">vincent@vincentdavis.net</a>> wrote:<br>
> OverflowError: Python int too large to convert to C long<br>
</div><div class="im">> line 266, in _maketile<br>
>   bytecount = read(channels * ysize * 2)<br>
<br>
</div>Is the file over 2GB? Might be a limitation, more than a bug, and one<br>
that could possibly be raised by using a 64-bit build.<br>
<br>
Alternatively, you could deem them invalid for exceeding your file<br>
size limit (either before passing to PIL, or on catching this<br>
exception).<br>
<br>
ChrisA<br>
<span class="HOEnZb"><font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br></div>