On Fri Apr 13 03:40:36 EDT 2012, [email protected] wrote:

>  ... graphics
> 
> On 13 April 2012 08:38, Charles Forsyth <[email protected]> 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

Reply via email to