From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <4f5089ba690c19712cae55f5c4b960d0@ladd.quanstro.net> References: <4f5089ba690c19712cae55f5c4b960d0@ladd.quanstro.net> Date: Tue, 20 Oct 2009 08:16:52 -0700 Message-ID: Subject: Re: [9fans] jpg image too big From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 8c73dc9a-ead5-11e9-9d60-3106f5b1d025 > good point. =C2=A0can we just make i/o unit anything we wish? no, because it affects the size of buffer that gets allocated to hold 9p messages. the kernel is free to limit the iounit too. > 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). =C2=A0the > slop is Dy(r)-1 pixels, which is considerable for a > camera shot. > > maybe it's not worth the pain? it's not. fix iounit.