![]() |
| ||
| Sending Bitmap using WCF Hi, I'm trying to send a bitmap using WCF and here's the steps i followed: 1-Convert it into byte array private IDataObject tempObj;2-Receiving the byte array from the other client side and convert it into bitmap to display it public void ReceiveByteArray(byte[] Data) i don't know why pictureBox.Image is always black...it doesn't display the image,although the "hello.bmp" file on the hard disk changes while catching the picture. N.B the byte array "Data" isn't set to null it contains the values i sent from the other client side. |
| ||
| Re: Sending Bitmap using WCF If you saved this bitmap on client's HDD, what the result, also black? |
| ||
| Re: Sending Bitmap using WCF yes it's black... |
| ||
| Re: Sending Bitmap using WCF Check if your array comes in order or not. |
| ||
| Re: Sending Bitmap using WCF Yes it comes in order and everything is okay...it was a matter of format. private void WebCamCapture_ImageCaptured(object source, WebcamEventArgs e)Thanks for help |
| All times are GMT -4. The time now is 5:26 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC