From: SerDevian Newsgroups: comp.os.msdos.djgpp Subject: Re: pcx file format questions Date: Wed, 03 Sep 1997 12:47:21 -0600 Organization: XYZZ Software Co. Lines: 20 Message-ID: <340DB0B9.41C6@CS.ColoState.edu> References: NNTP-Posting-Host: escher.vis.colostate.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Timothy Robb wrote: > I have a pcx class I am writting and have some questions about pcx file > format in general. Most questions should be answerable in the PCX-loading and saving routines on my page. If you look at the source there and still have questions, feel free to email me. > size (91*101 = 9191 in this example). I would like to know what bytes > per line is? I would think it's related to the width but am not sure, Bytes per line should equal the image-width in 8-bit images, *unless* the image has an odd width. In that case, it will be width+1. In 24-bit images, it should be width*3. _ _ _ _ ___ ___ -----------"Use the source, Luke!"--------- ( \/ ( \/ (__ (__ ) | ~ Scott Scriven (SerDevian / XYZZ) | \ / \ / // // | mailto:scriven AT CS DOT ColoState DOT edu | / \ / / //_ //_ | mailto:scriven AT VIS DOT ColoState DOT edu | (_/\_(_/ (___(___) | http://www.vis.colostate.edu/~scriven/ |