Xref: utzoo alt.graphics.pixutils:864 comp.graphics:16591 Path: utzoo!utgpu!cs.utexas.edu!swrinde!mips!cs.uoregon.edu!milton!uw-beaver!cornell!rochester!kodak!ispd-newsserver!atexnet!cvbnet!jdonsbac From: jdonsbac@cvbnet.Prime.COM (Jeff Donsbach, Display & Devices, x4365, 5-2 2415) Newsgroups: alt.graphics.pixutils,comp.graphics Subject: Re: Sun rasterfile to CGM (via PBMPLUS?) Message-ID: <1327@cvbnetPrime.COM> Date: 14 Mar 91 21:06:25 GMT References: <946@keele.keele.ac.uk> Sender: postnews@cvbnetPrime.COM Reply-To: jdonsbac@cvbnet.Prime.COM Lines: 26 From article <946@keele.keele.ac.uk>, by gerry@seq1.keele.ac.uk (G.D.Pratt): > Does anyone know: > > - how to turn a color Sun Rasterfile to a Computer Graphics Metafile? > - how to convert any format supported by PBMPLUS to a CGM file? > - what the CGM spec for raster data is so a rast2cgm could be writen > CGM was intended, at least originally, to be a device independant vector data format. CGM has no real raster image support per se. The closest thing to it would be to use the CELL ARRAY primitive. If your rasterfile is real big, you might want to divide it up into a bunch of smaller CELL ARRAY primitives. The proposed Addendum 3 for CGM has extensions for including raster images in a CGM file in either CCITT Group II and IV formats. But, it's only a draft proposal right now as far as I know. When converting other vector data formats, like HPGL or C906/7, there is a much closer correspondence of primitives than with raster data formats. -Jeff ========================== Jeff Donsbach, Computervision, A Prime Computer Company, Bedford, MA UUCP: {decvax|linus|sun}!cvbnet!jdonsbac | Internet: jdonsbac@cvbnet.prime.com "You can't have everything because where would you put it?" - Steven Wright