Click here to Skip to main content
15,845,681 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using leadtools to get image from scanner driver, how can I save that image to disk (jpg or bmp or any format)?

thanks & regards
Posted
Comments
ZurdoDev 2-Jan-14 16:05pm    
Have you checked with leadtools documentation?

1 solution

This is LEADTOOLS support.
Since the question has the C# tag, I'll assume you're using our .NET assemblies. If that's the case, you can use the Leadtools.Codecs.RasterCodecs.Save() method to save JPEG, BMP or any supported format to either disk file or stream.
You should reference the required DLLs for the formats you need such as Leadtools.Codecs.Cmp.DLL for JPEG and Leadtools.Codecs.Bmp.DLL for BMP.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900