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

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