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, July 28, 2015 4:03:35 AM(UTC)
HiGravity

Groups: Registered
Posts: 5


I am prototyping a wrapper that will use LEADTools to replace our existing 3rd party libraries for scanning to simply see it in action as we are evaluating switching to you guys, but I have been running into a few issues.

Right now I am simply trying to get images from the scanner and put them in one of our classes that takes a stream and file extension, but this line keeps throwing an error:

_codecs.Save(image, fs, RasterImageFormat.Tif, image.BitsPerPixel);

image is a RasterImage coming from my TwainController class, I use File.Create to make 'fs' just above this line. When this executes I get a RasterException "Feature not supported" (See attached image). I have compared this to examples like TwainHighDemo and cannot find any obvious differences.

We are using a eval license but I replaced the example one with ours and it still worked fine.
HiGravity attached the following image(s):
Capture1.PNG
 

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 : Tuesday, July 28, 2015 4:04:46 AM(UTC)
HiGravity

Groups: Registered
Posts: 5


This is my TwainController
 
#3 Posted : Tuesday, July 28, 2015 4:05:28 AM(UTC)
HiGravity

Groups: Registered
Posts: 5


Trying again to attach files....
File Attachment(s):
TwainController.zip (5kb) downloaded 52 time(s).
 
#4 Posted : Tuesday, July 28, 2015 4:23:33 AM(UTC)

NathanM  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Problem was resolved via phone support. For reference he just needed to build to the bin directory, meaning he was missing some dlls.
 
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.166 seconds.