c# - Can I upload an image via wcf without converting to a byte array -
I am capturing jpegs from my IP camera and I convert it to a byte array and then I use a web service I open and upload those people bytes.
When I change that byte array back to JPEG and present it, I feel that image quality sometimes gets worse.
I have used the quality of the encoder on different scales, but still
I can post a code but this is normal and I want to focus on the alternative I'm probably on the way to upload an image with the size of the byte array as quickly as possible.
You should do some tests with one.
Actually flow The network connection handles only the byte array, that this option is on the compression algorithm. Perhaps you should look at the video compression algorithm (witch use previous images to encode new pictures. , And get better results.) But your IP camera has to handle it: o ( camera = & gt; JPEG = & gt; Byte array ~ & gt; Byte array - & gt; JPEG - & gt; Screen .
= & gt; Arrows are on the camera side.
~> is an arrow network.
-> Arrow is the PC side.
JPEG => Byte array ~ & gt; Byte array - & gt; JPEG should be loss-proof and tested.
Comments
Post a Comment