From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 12 Apr 2012 14:31:05 -0400 To: 9fans@9fans.net Message-ID: <38af002db3abf3f70806df3c6368f272@brasstown.quanstro.net> In-Reply-To: <20120412182329.GE9287@krabbe.dyndns.org> References: <20120408183539.GC2245@krabbe.dyndns.org> <20120412182329.GE9287@krabbe.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] page fit to window does not work on large jpegs Topicbox-Message-UUID: 76337524-ead7-11e9-9d60-3106f5b1d025 On Thu Apr 12 14:24:25 EDT 2012, ikrabbe.ask@gmail.com wrote: > On Thu, Apr 12, 2012 at 11:47:49AM -0600, andrey mirtchovski wrote: > > change line 452 of /sys/src/cmd/page/rotate.c to > > 'sysfatal("unloadimage: %r");', compile and run your program again. > > Yes, that was expected somehow: > page: unloadimage: unloadimage: image too wide > > Maybe I will take a closer look later. /sys/src/libdraw/unloadimage.c:31 you could start by making that constant 12000 or some such. that will probablly violate some other assumption, but at least it's a start. - erik