[fa.laser-lovers] Sun -> Imagen

laser-lovers@uw-beaver (laser-lovers) (11/29/84)

From: wunder@ford-wdl1.arpa
I modified MACimp (Macpaint -> Impress) to accept Sun bitmaps.  I had
to guess at the format for the rasterfile, since Sun doesn't seem to
distribute the manpages for screendump and screenload (I found the binaries
while poking around).  Anyway, I can mail the source to interested people,
but I would like to modify the program to actually read the rasterfile
header rather than toss it.  I had to guess at the format of the file
until now, but since rasterfile.h exists, I'd like to use it.

Currently, the bitmaps are rather small when printed, since Impress
magnify command does not work (yet).  I wrote a program to double the
image before handing it to the Imagen, but you need 540K of free memory
on your in order to print it.  We have a 3/4 Meg and a 1 Meg printer,
both with TCP/IP/Ethernet and the big bitmap just barely fits on the
1 Meg model.

walter underwood
wunder@ford-wdl1
fortune!wdl1!wunder

laser-lovers@uw-beaver (laser-lovers) (12/03/84)

From: Christopher Schmidt <SCHMIDT@sumex-aim.arpa>
	I wrote an Interlisp program to dump bitmaps to the 8/300,
but, to get around the magnification problem, I used an alphabet of 16
glyphs each of which depicts a four-pixel portion of the screen
magnified by some amount.  First I download that font, PUSH, SET-BOL
to the left edge of the desired location, SET-IL to N, where N is the
pixel magnification of the font, output the bitmap nybblewise, one
scan line at a time separated by CRLF operators, and terminated with a
POP.  This has the advantages (1) I can place a bitmap at an arbitrary
place on the page--not just at multiples of 32 pixels, (2) I can put
bitmaps of different magnifications on the same page, and (3) I can
generate a font for any magnification--not just 1, 2, and 4.  The 
disadvantage is that I waste 2 bytes of impress file (and 8/300 memory)
for each byte of bitmap.  I haven't found this a problem, though.  I
could always make a font of 128 glyphs and dump the bitmap 7 bits at
a time, but I decided that the computation on the part of the generator
was more costly than the disk space and transfer time. 
	I'll be distributing a Harmony version of this package for Interlisp-D
1-2 months after the Harmony release.
--Christopher
-------

laser-lovers@uw-beaver (laser-lovers) (12/03/84)

From: Albert Boulanger <ABOULANGER@bbng.arpa>
You can also do magnification by building a replication table. The pixels
on the line are looked up in the replication table. The lines are simply
repeated magnification times. This works well if the binary bitimage is packed
in bytes or words. I do this on a Symbolics machine that drives a QMS.

-------