LEADTOOLS Support
Imaging
Imaging SDK Questions
"Feature not supported" Error on RasterCodecs.Save()
#1
Posted
:
Tuesday, July 28, 2015 4:03:35 AM(UTC)
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):
#2
Posted
:
Tuesday, July 28, 2015 4:04:46 AM(UTC)
Groups: Registered
Posts: 5
This is my TwainController
#3
Posted
:
Tuesday, July 28, 2015 4:05:28 AM(UTC)
Groups: Registered
Posts: 5
Trying again to attach files....
#4
Posted
:
Tuesday, July 28, 2015 4:23:33 AM(UTC)
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.
LEADTOOLS Support
Imaging
Imaging SDK Questions
"Feature not supported" Error on RasterCodecs.Save()
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.