Article View: comp.graphics.animation
Article #620Stuck with PCX file ... need HELP ...
From: Srinivasa Rao K
Date: Fri, 25 Dec 1992 05:09
Date: Fri, 25 Dec 1992 05:09
49 lines
2239 bytes
2239 bytes
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 ... (unix)
I would appreciate your guidance.....
Thankyou all .....
Newsgroups: graphics.animation
Subject: Stuck with PCX file ...need HELP....
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 ... (unix)
I would appreciate your guidance.....
Thankyou all .....
Technical Details
Message-ID:
<1992Dec25.050901.5290@usl.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!tulane!rouge!rks9954Show Full Headers
Complete Article Headers
Newsgroups: comp.graphics.animation Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!tulane!rouge!rks9954 From: rks9954@usl.edu (Srinivasa Rao K) Subject: Stuck with PCX file ... need HELP ... Message-ID: <1992Dec25.050901.5290@usl.edu> Organization: Univ. of Southwestern Louisiana Date: Fri, 25 Dec 1992 05:09:01 GMT Lines: 49