mireley@horus.cem.msu.EDU (John Mireley) (09/26/90)
I have been trying to get the EPS macro, from example.doc, to work with, what I assume are eps, files for Adobe Illustrator-88. It just does not work. Has anyone used it successfully? John Mireley
leadfoot@leftlane.ucs.dec.com (Mark Curtis) (09/26/90)
Yes, but the scaling is all wrong if the TIF part of the eps file doesn't include the X and Y dpi info. W4W seems to default to 100dpi if no resolution records are found in the TIF header. Graphics Workshop 4.3 doesn't include these records in the TIF header and then writes the PS part with a bounding box scaled for 300 dpi. The images seen on the screen in W4W will be 3 times larger than what gets printed on the screen. GWS needs to include the dpi info and W4W needs to prompt for the dpi info if no record in found in the TIF header. The eps import macros go to a fair amount of trouble to get the bounding box info from the PS part of the eps file, but then never use that data to figure the dpi. If the number of X and Y pixels can be found out after the TIF image is read then all the info needed to find the correct dpi is there. So far I haven't been able to find out where this info is hidden. You would also have to know how to poke the corrected dpi info back into the TIF image import data structure within W4W. Once again a dead end. The way the eps macros work an eps file can only be imported once per editing session. If the image is deleted and reimported, a common action, it fails with an error stating that a file is already open. I don't know how they expect people to import a file twice in a document. All imported images, eps files are the worst, seem to cause the repaginate software to go haywire if an image is scaled even a little too large for the page size/margins it is imported on. Rescaling to a smaller size will sometimes undo the damage, but most of the time the image has to be deleted and then reimported. Remember once an eps image is imported it can't be imported again until W4W is exited and restarted. Painful! Mark curtis@decisv.enet.dec.com