home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics
- Path: sparky!uunet!spool.mu.edu!darwin.sura.net!rouge!rks9954
- From: rks9954@usl.edu (Srinivasa Rao K)
- Subject: Stuck with PCX file ... need HELP ..
- Message-ID: <1992Dec25.050110.5035@usl.edu>
- Organization: Univ. of Southwestern Louisiana
- Date: Fri, 25 Dec 1992 05:01:10 GMT
- Lines: 19
-
-
- Can any body Please give advice regarding the problem ...
-
- I am trying to read and display PCX file.
- The Header is having the following data
- x1 = 0; y1 = 0; x2 = 9263; y2=12410 ;
- Xresolution = 400; Yresolution= 400;
- Number of planes =1; Bits Per Pixel = 1;Version =5;
- The file size is 10Meg.
- In the books I read the x2 and y2 are given upto maximum of 640.
- When i ran the same program on other pcx files of size approx 155k
- x2 and y2 are around 455 and 350 with resolution 150.
- I have swapped the bytes of x and y values, else x and y values are above 15000.
- The Image size approximately same as x2/xresolution x y2/yresolution.
- How Should i display this on to my screen size of 1200 x 1000 pixels
- with DATA GENERAL machine ...
- I would appreciate your guidance.....
- Thankyou all .....
-
-