Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!lavaca.uh.edu!uhnix1!moray!urchin!f270.n106.z1.fidonet.org!Susan.King From: Susan.King@f270.n106.z1.fidonet.org (Susan King) Newsgroups: comp.graphics Subject: Re: Sun Rasterfile to HPGL conversion Message-ID: <16701.25FE80D6@urchin.fidonet.org> Date: 12 Mar 90 12:45:54 GMT Sender: ufgate@urchin.fidonet.org (newsout1.26) Organization: FidoNet node 1:106/270 - Kingdom Productions, Houston TX Lines: 42 DC: DC: From: dclaar@hpcupt1.HP.COM (Doug Claar) DC: Date: 7 Mar 90 18:01:32 GMT DC: Organization: Hewlett Packard, Cupertino DC: Message-ID: <6350009@hpcupt1.HP.COM> DC: Newsgroups: comp.graphics DC: DC: DC: I have a requirement to convert Sun colour rasterfiles DC: to HPGL DC: format (don't ask why). Does anyone know of a utility to DC: do this? DC: DC: -- DC: Well, sun is raster, and HPGL is vector. Converting to a true DC: vector DC: image is a "hard problem." Autocad's CADcamera is often mentioned DC: as DC: a program that does a good job, using copyrighted/patented techniques. DC: (This is from memory, it might be in the weekly posting...) DC: DC: If you are NOT going to a REAL vector device, it would be fairly DC: easy DC: to use rasttopbm (from the pbm toolset) and an awk script to DC: create DC: a massive file of pen-up pen-downs. PBM is a very simple ascii DC: format. DC: If you were to send your resulting HPGL file to a plotter, it DC: would DC: KILL the pen! You probably also need to consider pen width, and DC: DC: possibly some unit conversion... DC: DC: Doug "Funny, I was asked this question just yesterday" Claar Doug, if you have a .GIF file captured from your SUN Workstation you can try a Program like HIJAAK to convert to HPGL. Now that I think about it.. I know we do HPGL to GIF using that program.. but haven't gone the other way... I will check at the office today!