Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!tut.cis.ohio-state.edu!ucbvax!CAEN.ENGIN.UMICH.EDU!pha From: pha@CAEN.ENGIN.UMICH.EDU (Paul H. Anderson) Newsgroups: comp.sys.apollo Subject: Re: GPR, turn on one pixel, big pictures Message-ID: <41a5dda8e.001285f@caen.engin.umich.edu> Date: 23 Feb 89 16:44:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 19 Another dumb GPR question... well, maybe not so dumb, but it keeps coming up in my code, and I haven't found a good solution: Is there an extremely fast, efficient way of converting a pixel major bitmap to a plane major bitmap and vice versa? ie many printer type devices want things an 8 bit pixel at a time, but are stored a plane at a time. The best I've been able to do is to do a gpr_$read/write_pixels, which gives me a pixel per 4 byte array element. I do this only on one row or column at a time (a column is much slower than a row), since to convert a plane bitmap to a pixel bitmap via this call is beyond the given limit of 128K pixels (this last info from my memory). I don't recall exactly how fast I can do it, but it is something on the order of a minute or two. Is there a faster way of doing this? Paul Anderson CAEN Apollo guy