We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bde398e commit f022c86Copy full SHA for f022c86
samples/ImageDecoding/Program.cs
@@ -4,7 +4,6 @@
4
using Dynamsoft;
5
using Dynamsoft.DBR;
6
using System.Windows.Forms;
7
-using Dynamsoft.Core;
8
9
10
namespace ImageDecoding
@@ -47,10 +46,8 @@ static void Main(string[] args)
47
46
// Call GetRuntimeSettings to get current runtime settings.
48
PublicRuntimeSettings settings = dbr.GetRuntimeSettings();
49
50
- ImageCore ImageCore1 = new ImageCore();
51
- ImageCore1.IO.LoadImage(filePath);
52
-
53
- Bitmap bmp = (Bitmap)(ImageCore1.ImageBuffer.GetBitmap(ImageCore1.ImageBuffer.CurrentImageIndexInBuffer));
+ Bitmap bmp = new Bitmap(filePath);
+
54
results = dbr.DecodeBitmap(bmp, "");
55
56
if (results != null && results.Length > 0)
0 commit comments