9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ingo Krabbe <ikrabbe.ask@gmail.com>
To: 9fans@9fans.net
Subject: Re: [9fans] page fit to window does not work on large jpegs
Date: Thu, 12 Apr 2012 22:43:11 +0200	[thread overview]
Message-ID: <20120412204311.GF9287@krabbe.dyndns.org> (raw)
In-Reply-To: <38af002db3abf3f70806df3c6368f272@brasstown.quanstro.net>

On Thu, Apr 12, 2012 at 02:31:05PM -0400, erik quanstrom wrote:
> 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.

I assume that might be related to Displaybufsize=8000 in draw.h

>
> - erik

--
i don't do signatures



  reply	other threads:[~2012-04-12 20:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-08 18:35 Ingo Krabbe
2012-04-12 17:47 ` andrey mirtchovski
2012-04-12 18:23   ` Ingo Krabbe
2012-04-12 18:31     ` erik quanstrom
2012-04-12 20:43       ` Ingo Krabbe [this message]
2012-04-12 20:46         ` erik quanstrom
2012-04-12 18:56 ` cinap_lenrek
2012-04-12 20:59   ` erik quanstrom
2012-04-12 19:20     ` cinap_lenrek
2012-04-12 21:35       ` erik quanstrom
2012-04-13  7:38         ` Charles Forsyth
2012-04-13  7:39           ` Charles Forsyth
     [not found]           ` <CAOw7k5iv+gxQKsv33tcGdx0FJ3F68EwaVXDqR1HF=_7CnzsyPg@mail.gmail.c>
2012-04-13 12:13             ` erik quanstrom
2012-04-13 10:37               ` cinap_lenrek
2012-04-13 12:45                 ` Charles Forsyth
2012-04-13 10:49                   ` cinap_lenrek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120412204311.GF9287@krabbe.dyndns.org \
    --to=ikrabbe.ask@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).