9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] jpg image too big
@ 2009-10-20 12:04 erik quanstrom
  2009-10-20 14:00 ` Russ Cox
  0 siblings, 1 reply; 6+ messages in thread
From: erik quanstrom @ 2009-10-20 12:04 UTC (permalink / raw)
  To: 9fans

the problem is indeed drawterm related, but it's not dt's
fault.

the problem is that devdraw/loadimage.c needs to load
at least 1 scan line at a time.  unfortunately, iounit for
drawterm ends up being 8k, so display->bufsize=8k.  the
problem is that each scan line is over 9k in my case.

i haven't looked yet to see if the kernel can deal with
partial lines, or what could be done about the too-small
iounit.  but it would seem to me that something has to
give.

- erik



^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <<dd6fe68a0910200700g6e876655o53bb23274f335b11@mail.gmail.com>]
[parent not found: <<dd6fe68a0910200755nb397fc5jaef44a12fa3ad049@mail.gmail.com>]

end of thread, other threads:[~2009-10-20 15:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-20 12:04 [9fans] jpg image too big erik quanstrom
2009-10-20 14:00 ` Russ Cox
     [not found] <<dd6fe68a0910200700g6e876655o53bb23274f335b11@mail.gmail.com>
2009-10-20 14:14 ` erik quanstrom
2009-10-20 14:55   ` Russ Cox
     [not found] <<dd6fe68a0910200755nb397fc5jaef44a12fa3ad049@mail.gmail.com>
2009-10-20 15:04 ` erik quanstrom
2009-10-20 15:16   ` Russ Cox

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).