Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site bunny.UUCP
Path: utzoo!linus!philabs!cmcl2!seismo!harvard!bunny!mb02
From: mb02@bunny.UUCP (mark beutnagel)
Newsgroups: net.micro.mac
Subject: Re: printing on Imagen..
Message-ID: <159@bunny.UUCP>
Date: Thu, 8-Aug-85 15:42:19 EDT
Article-I.D.: bunny.159
Posted: Thu Aug  8 15:42:19 1985
Date-Received: Sun, 11-Aug-85 06:57:32 EDT
References: <787@gatech.CSNET>
Organization: GTE Laboratories, Waltham, MA
Lines: 37

I recently completed a rewrite of macimp.c here at GTE Labs.  Our
Imagen is one of those that doesn't magnify, so we did it in software.
It currently runs on a VAX and has been used on MacPaint files and
Sun screen dumps.  The most interesting feature is smoothing of edges
and lines in the expanded bitmap.  I hope to be able to release it
to the net this summer.

Compile-time options include:
  scale factor - 1 through 4 have been tested.
  screen dimensions
  portrait or landscape (upright or sideways) picture orientation.
  header size of input file (512 for Macpaint).
  Macpaint style bitmap compression or plain unravelled bitmaps.

The basic idea is to break edges at the resolution of the Imagen
rather than at the resolution of the original screen.  At scale = 3
a single slanted line maps to case II, not case I, and each 3x3 block
represents one original screen pixel:

  I.	xxx xxx xxx xxx xxx xxx
	xxx xxx xxx xxx xxx xxx
	xxx xxx xxx xxx xxx xxx
			        xxx xxx xxx xxx xxx xxx
			        xxx xxx xxx xxx xxx xxx
			        xxx xxx xxx xxx xxx xxx
  II.	xxx xxx xxx xxx
	xxx xxx xxx xxx xxx xxx
	xxx xxx xxx xxx xxx xxx xxx xxx
		        xxx xxx xxx xxx xxx xxx xxx xxx
			        xxx xxx xxx xxx xxx xxx
			                xxx xxx xxx xxx

Thanks to Winkler and Patterman for the original versions.

Mark Beutnagel (beutnagel@UPenn.CSNET -- author)
Gene Cooperman (gene@GTEL.CSNET -- originally his idea, and
				   Gene has the software)