I'm afraid I don't understand what you mean by "if I try to read the data acording the width and height ther is stil to much data that is sends to me.". What is the 8bpp pixel format that you're requesting from the server (e.g. true-colour/palettised, etc)?
Regards, Wez @ RealVNC Ltd. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of E.A. Heuveling > Sent: 09 June 2005 21:47 > To: [email protected] > Subject: raw pixel mesage and RGB > > Hello every one > > For a school project I'm makeing a very simple vnc-client. > > I have a question about the raw pixel format taht the vnc > server is sending > The client only supports 8, 16, 32 bit color. For 8 bit does > the server send for evry color from > rgb a own pixel value? becaus if I try to read the data > acording the width and height ther is stil > to much data that is sends to me. > > for example 1024*768*8bpp (8bit per pixel = 1 byte per pixel > acording to the protocol spec.) > raw specifieds: width * hieght * bytePerPixel = 1024 * 768 * 1 > > can any one help me with this?? > > kinde regaurds > > E.A.Heuveling > > > > __________________________________ > Discover Yahoo! > Use Yahoo! to plan a weekend, have fun online and more. Check it out! > http://discover.yahoo.com/ > _______________________________________________ > VNC-List mailing list > [email protected] > To remove yourself from the list visit: > http://www.realvnc.com/mailman/listinfo/vnc-list _______________________________________________ VNC-List mailing list [email protected] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
