Path: utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!bbn!rochester!ken From: ken@cs.rochester.edu (Ken Yap) Newsgroups: comp.lang.postscript Subject: Re: Run-length encoding for image data? Message-ID: <9440@sol.ARPA> Date: 6 May 88 17:43:53 GMT References: <2387@uvacs.CS.VIRGINIA.EDU> Reply-To: ken@cs.rochester.edu (Ken Yap) Organization: U of Rochester, CS Dept, Rochester, NY Lines: 21 |Has anyone successfully implemented a run-length-encoding scheme for |compressing pixel information sent to the image operator? Several attempts Ray, Have you tried byte level run-length encoding, i.e. 00 00 00 00 00 13 13 13 13 24 is encoded as 5 * 00, 4 * 13, 24 in some scheme. I know of some screen dump programs that do this. I don't know exactly how much this wins. Obviously downloading is faster but processing is slower. The other thing I know is that rotating an image 90 degress in PostScript is slow. Best to do it in your dump program if you can. Ken