From: ctm@ardi.com (Clifford T. Matthews)
Subject: Re: Moving tiffs/EPS files from NeXT to Mac
Organization: ARDI
Date: Fri, 2 Oct 92 00:29:18 GMT

Two tricks may be helpful in getting NeXT generated TIFF and EPS
files onto applications on a Mac (or even on programs originally
written on a Mac, running under Executor).  However, I only know that
these tricks (eliminating the "Alpha Component" for TIFFs and changing
line-feeds to carriage returns for EPS files) work for Word 5.

If you want to read TIFF or EPS files in Word 5 you need to be sure
that you have the file  "EPS/TIFF/PICT" (it should have been
installed when you installed Word 5) in your "Word Commands" Folder.
You will also need to select "All" in the pop-up menu that you use
to specify what types of files you're interested in opening.  If
you intuitively choose "Graphics Files", your TIFF or EPS will be
ignored if it doesn't have the proper "File Type" associated with
them.

When you open a TIFF you should be given the choice to open it as
a TIFF or a TEXT file (you want to do the former).  I know this
works for multi-bit/pixel tiffs created on a NeXT, AS LONG AS THE
TIFF ISN'T SAVED WITH AN ALPHA COMPONENT.  Some NeXT programs let
you decide whether or not to have an "Alpha Component" (i.e.
transparency description) when you use the "Save As..." feature
instead of the unadorned "Save" option.

EPS under Word 5 is even more tricky.  Even though Adobe says you
can terminate PostScript lines with "Control-J"s (linefeeds) or
"Control-M"s (carriage returns), Word 5's convertor wants the lines
to be terminated with Control-M's.  While you're still on the next
you can affect this change with the "tr" command:

    iclone% tr '\012' '\015' < ARDI_LOGO.eps > ARDI_LOGO_NOLF.eps

The above example was performed on machine "iclone" and the "tr"
command was told to read "ARDI_LOGO.eps" and change all octal "012"s
(linefeeds) to octal "015"s (carriage returns) and to store the
results in "ARDI_LOGO_NOLF.eps".  However, even after you've done
this, Word 5 will not be able to show you the contents of your
file, it will just draw an appropriately sized rectangle that you
can crop or scale.  However, when you print you will see the proper
output.

FloppyWorks NOTE:  If you use FloppyWorks, you can have FloppyWorks
do the translation for the EPS files, but make sure you *don't* do any
translation when moving TIFF files.

Executor NOTE:  There are a couple of bugs in Executor 1.2 that
conspire against you when you attempt to do this on a NeXT running
Word 5 under Executor 1.2.  However, Executor 1.2.1 is on its way
out (a few lucky people already have it, everyone else will have
it automatically, soon) and those bugs have been banished.  In
fact, when running under Executor, Word 5 doesn't need you to do
the "tr" trick above because Executor figures out what's going on
and does the conversion for you on the fly (this is a selectable
feature that is on by default, but that's what "Preferences..." is
for).

Executor NOTE 2:  When you read 2 bit monochrome TIFFs (i.e.
white/light gray/dark gray/black) in Word 5 under Executor, they
get displayed on the screen in black and white (i.e. you don't get
the gray scale), but when the file is printed, the original light
gray and dark gray components are back where they should be.  This
is because Executor currently mimics a black and white Mac, even
though we have some of the multi-bit/pixel code in place in
anticipation of color support.

	--Cliff[ord T. Matthews]
	[bias alert:  I wrote much of Executor and I live near
	the people who wrote FloppyWorks]

p.s. It's been said that "five" is the number that you can shout the
     loudest.  Wahoo!
Newsgroups: comp.sys.next.misc