From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] page fit to window does not work on large jpegs
Date: Fri, 13 Apr 2012 08:13:50 -0400 [thread overview]
Message-ID: <7303776683083dfe4eda468cf6676c9c@brasstown.quanstro.net> (raw)
In-Reply-To: <CAOw7k5iv+gxQKsv33tcGdx0FJ3F68EwaVXDqR1HF=_7CnzsyPg@mail.gmail.c>
On Fri Apr 13 03:40:36 EDT 2012, charles.forsyth@gmail.com wrote:
> ... graphics
>
> On 13 April 2012 08:38, Charles Forsyth <charles.forsyth@gmail.com> wrote:
>
> > a reasonable minimum for
except for the fact it's not. even something like a droid x takes
too wide a picture. (>3200 pixels wide.)
this is the change i made, which should give you 64k on a terminal,
and drawterm, if you change the iounit.
; diff -c `{yesterday -n2 unloadimage.c} unloadimage.c
/n/dump/2012/0411/sys/src/libdraw/unloadimage.c:28,34 - unloadimage.c:28,34
werrstr("unloadimage: %r");
return -1;
}
- dy = 8000/bpl;
+ dy = i->display->bufsize/bpl;
if(dy <= 0){
werrstr("unloadimage: image too wide");
return -1;
- erik
next prev parent reply other threads:[~2012-04-13 12:13 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
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 [this message]
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=7303776683083dfe4eda468cf6676c9c@brasstown.quanstro.net \
--to=quanstro@quanstro.net \
--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).