Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, April 3, 2007 1:16:12 PM(UTC)

Troup62  
Troup62

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
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, April 5, 2007 5:36:52 AM(UTC)

GregR  
GregR

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.040 seconds.