[comp.graphics] CGM, GKS

ramarao@umn-cs.UUCP (Bindu Rama Rao) (11/11/87)

Bitstream data

	Hi,
		I am writing the code for generating a CGM
	(according to the Std.) and I am implemnting the Character
	Encoding standards. I have not been able to come up with an
	efficient algorithm to convert 

1)	Integer RGB colours (say as specified by Colour Value Extent)
	into the bitstream format  (ie. rgbrgb  rgbrgb rgbrgb ...)

2)	Converting an array of integers into a single bitstream
	output (where the integers are all in a specified precision).

	I will be happy to receive any suggestions or examople code.

	I am writing the code in C. The metafile is character encoded.

-thanx,
bindu rama rao.

ramarao@umn-cs.arpa
bindu@simvax.bitnet