This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, April 3, 2007 1:16:12 PM(UTC)
Groups: Registered
Posts: 4
I'm using the ImageFileSaver.cs class to save a picture that is rendered to the screen. In the Save() method an error occurs on the last call "codecs.Save()". The attachment shows the error dialog. My implementation is based on the CSDrawDemo project, which works, but I can't find the missing instruction in my code.
References:
LeadTools
LeadTools.Codecs
LeadTools.Codecs.Bmp
LeadTools.WinForms
LeadTools.WinForms.CommonDialogs.File
Error:
LeadTools.RasterException: Feature not supported.
Thanks
#2
Posted
:
Thursday, April 5, 2007 5:36:52 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
Most likely, you are missing the reference for the codec(s) necessary for saving the file format you are saving to. Try adding more references to the codecs or just copying all of them to your EXE's directory.
Also, you could try using Process Explorer (
http://www.microsoft.com/technet/sysinternals/utilities/ProcessExplorer.mspx) to see exactly what files are being loaded by the CSDrawDemo which worked for you. Then you can see which DLLs are being used but aren't references in your application.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.