Hey guys
wondering if you can help. We are using Leadtools v15
The sample application we have been using is 64bit Draw located under raster imaginging pro > more demos
Basically we have a very large bitmap file (32,000px by 32,000px) filesize = 1GB
Its loads ok into the program but once when try to do anything to it, eg draw a square,line,cirle
We get the attached exception, Is there a known fix for this issue. We are using a high spec 64bit machine with 16GB of RAM.
full error message details below:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: Image is not GDI+ compatible
at Leadtools.RasterImage.ChangeToGdiPlusImage(ChangeToGdiPlusImageFlags flags)
at Leadtools.RasterImage.CreateGdiPlusGraphics()
at DrawDemo.MainForm._viewer_MouseUp(Object sender, MouseEventArgs e)
at Leadtools.WinForms.RasterImageViewer.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at Leadtools.WinForms.RasterImageViewer.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
VBDrawDemo
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/LEAD%20Technologies/LEADTOOLS%20Dotnet%20EVAL%2015/Bin/Dotnet/x64/VBDrawDemo_Original.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
Leadtools.Codecs
Assembly Version: 15.0.0.0
Win32 Version: 15,0,1,8
CodeBase: file:///C:/Program%20Files%20(x86)/LEAD%20Technologies/LEADTOOLS%20Dotnet%20EVAL%2015/Bin/Dotnet/x64/Leadtools.Codecs.DLL
----------------------------------------
Leadtools.WinForms
Assembly Version: 15.0.0.0
Win32 Version: 15.0.1.1
CodeBase: file:///C:/Program%20Files%20(x86)/LEAD%20Technologies/LEADTOOLS%20Dotnet%20EVAL%2015/Bin/Dotnet/x64/Leadtools.WinForms.DLL
----------------------------------------
Leadtools
Assembly Version: 15.0.0.0
Win32 Version: 15,0,1,3
CodeBase: file:///C:/Program%20Files%20(x86)/LEAD%20Technologies/LEADTOOLS%20Dotnet%20EVAL%2015/Bin/Dotnet/x64/Leadtools.DLL
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.1433
Win32 Version: 8.00.50727.1433
CodeBase: file:///C:/WINDOWS/WinSxS/amd64_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_8F022AB2/msvcm80.dll
----------------------------------------
Leadtools.WinForms.CommonDialogs.File
Assembly Version: 15.0.0.0
Win32 Version: 15,0,1,1
CodeBase: file:///C:/Program%20Files%20(x86)/LEAD%20Technologies/LEADTOOLS%20Dotnet%20EVAL%2015/Bin/Dotnet/x64/Leadtools.WinForms.CommonDialogs.File.DLL
----------------------------------------
Leadtools.Codecs.Fax
Assembly Version: 15.0.0.0
Win32 Version: 15,0,1,0
CodeBase: file:///C:/Program%20Files%20(x86)/LEAD%20Technologies/LEADTOOLS%20Dotnet%20EVAL%2015/Bin/Dotnet/x64/Leadtools.Codecs.Fax.DLL
----------------------------------------
Leadtools.Codecs.Cmp
Assembly Version: 15.0.0.0
Win32 Version: 15,0,1,0
CodeBase: file:///C:/Program%20Files%20(x86)/LEAD%20Technologies/LEADTOOLS%20Dotnet%20EVAL%2015/Bin/Dotnet/x64/Leadtools.Codecs.Cmp.DLL
----------------------------------------
Leadtools.Codecs.Tif
Assembly Version: 15.0.0.0
Win32 Version: 15,0,1,0
CodeBase: file:///C:/Program%20Files%20(x86)/LEAD%20Technologies/LEADTOOLS%20Dotnet%20EVAL%2015/Bin/Dotnet/x64/Leadtools.Codecs.Tif.DLL
----------------------------------------
Leadtools.Codecs.Jbg
Assembly Version: 15.0.0.0
Win32 Version: 15,0,1,0
CodeBase: file:///C:/Program%20Files%20(x86)/LEAD%20Technologies/LEADTOOLS%20Dotnet%20EVAL%2015/Bin/Dotnet/x64/Leadtools.Codecs.Jbg.DLL
----------------------------------------
Leadtools.Codecs.Bmp
Assembly Version: 15.0.0.0
Win32 Version: 15,0,1,0
CodeBase: file:///C:/Program%20Files%20(x86)/LEAD%20Technologies/LEADTOOLS%20Dotnet%20EVAL%2015/Bin/Dotnet/x64/Leadtools.Codecs.Bmp.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.