9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: cinap_lenrek@gmx.de
To: 9fans@9fans.net
Subject: Re: [9fans] page fit to window does not work on large jpegs
Date: Fri, 13 Apr 2012 12:37:30 +0200	[thread overview]
Message-ID: <8b62a49a07acc191d15aae4679b6d418@rei2.9hal> (raw)
In-Reply-To: <7303776683083dfe4eda468cf6676c9c@brasstown.quanstro.net>

thats basicly what we did too, plus that if dy <= 0, we
split the scanline that fits in the display buffer and
recursively call unloadimage() on the rest instead of
failing.

the same thing is done with loadimage.

its just writememimage() wich uses a constant for the
chunksize because it doesnt have a bufsize negotiated
from 9p i/o unit by libdraw.

--
cinap



  reply	other threads:[~2012-04-13 10:37 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
2012-04-13 10:37               ` cinap_lenrek [this message]
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=8b62a49a07acc191d15aae4679b6d418@rei2.9hal \
    --to=cinap_lenrek@gmx.de \
    --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).