home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / graphics / 13194 < prev    next >
Encoding:
Text File  |  1992-12-25  |  1.2 KB  |  29 lines

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