From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 20 Oct 2009 11:04:09 -0400 To: 9fans@9fans.net Message-ID: <4f5089ba690c19712cae55f5c4b960d0@ladd.quanstro.net> In-Reply-To: <> References: <> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] jpg image too big Topicbox-Message-UUID: 8c6d064a-ead5-11e9-9d60-3106f5b1d025 > even easier would be to tweak drawterm so that it > ends up with a larger iounit. i'm pretty sure devdraw's > iounit is bigger and also that we bumped up the block > size in cpu (looks like 64 kB) for exactly this reason. good point. can we just make i/o unit anything we wish? maybe it's old 9p hangover, but i have this nagging feeling about network-dependant limits. in looking at the code, it might be a lot more efficent for loadimage to count pixels rather than lines (being careful with the slop at the end, of course). the slop is Dy(r)-1 pixels, which is considerable for a camera shot. maybe it's not worth the pain? - erik