Different Performances between Two Decode Methods: DecodeFile and DecodeBitmap
It has been brought to our attention that some pictures can be decoded successfully via our C# demo while the very same pictures cannot be decoded successfully via their own application. After a thorough investigation, the cause of the different performances was found.
The DecodeFile method directly transfers the file path value to our Barcode Reader SDK, our SDK will process the file internally according to the file path. The DecodeBitmap method, on the other hand, uses the Bitmap class embedded in C#. This method transfers the buffer of the image data acquired from the Bitmap object to our SDK. Therefore, the data transferred to our SDK would be a bit different, which leads to the different performances.