[comp.sys.atari.st] Re Degas to postscript

sww@warwick.UUCP (Spencer W Westwood) (12/01/89)

I have been trying to do the same thing : pi3 to ps.
my postscript looks something like this:-
%!
%%Creator: deg2ps	by S.W.Westwood
%%Title:
%%CreationDate:
%%For: Atari ST
%%BoundingBox: 20 20 350 220
%%DocumentFonts: None
%%Pages: 1
%%EndComments
%% Taken from  Adobe Red book :-)
/picstr	256 string def
20 20 translate  %% move up a bit from the corner of the page
320 200 scale	 %% map unit square to this size default
%%                  gives image 320*72 points !
640 399 1        %% x y and raster depth of image
[640 0 0 -400 400] %% matix maps raster to unit square but upside down
{currentfile picstr readhexstring pop}
image
02020202020202 .... image data - 34 bytes of header converted to hex ..
..00 %%end data
showpage
end
 Unfortunatly this does not seem to work properly.
Perhaps someone else could enlighten me ?
Spencer


JANET:sww@uk.ac.warwick.cs:UUCP: ...!mcvax!ukc!warwick!sww (sww@warwick.UUCP)
ARPA:sww%cs.warwick.ac.uk@nss.cs.ucl.ac.ukBITNET:sww%uk.ac.warwick.cs@ukacrl