|
From: Faraz K. <Far...@as...> - 2009-11-05 04:25:15
|
I few days ago someone from this discussion list replied to me (far...@as...<mailto:far...@as...>) about the MaxCodes problem of the .net Wrapper. Unfortunately I lost your email address. If you are reading this please contact me. I have started using your new pure .net library, but have an important question. From: Faraz Khan Sent: Thursday, October 22, 2009 10:03 AM To: 'lib...@li...' Subject: .Net Wrapper Question I have a question about the .net wrapper. I appears that when a bitmap is decoded using the wrapper, the MaxCodes property has no effect. Setting it to 1 does not stop the decode process to decode just 1 data matrix and then stop, instead it goes on for quite a long time (~20 - 30 seconds). However setting the TimeoutMS does stop the decoding after the specified time period. The problem is that this behavior does not happen with the command line dmtxread.exe when -N1 is passed as a parameter. Using the same bitmap file as with the wrapper, the command line version decodes the data matrix in less than 2 seconds and then stops and prints the value, which is the expected behavior. With the wrapper I have to specify a timeout of 5 seconds otherwise the decode process does not end. Both the wrapper and the command line version use the same libdmtx.dll located in the Sys32 directory. Has anyone experienced this problem? Thanks, Faraz Khan College of Law Arizona State University 480-965-7446 |