VintaSoft Twain .NET SDK Discussions

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Board index < VintaSoft Twain < VintaSoft Twain .NET SDK Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

when setting to color jpg, I get 0kb file



when setting to color jpg, I get 0kb file

Post by quicoli »

Friends,

I'm using a Kodak i2600. My scanning is set to memory transfer mode: when I set PixelType to BW or Gray, everything is okay. But, when I set to RGB, the following event is producing an empty file, 0kb file...
 private void _device_ImageAcquired(object sender, ImageAcquiredEventArgs e)
  {
            var filename ='test.jpg";
            
            if (!e.Image.IsBlank(0.01f))
            {
                e.Image.Save(filename);
            }
}
I don't know what is wrong.... someone could point some direction?

thank you


Re: when setting to color jpg, I get 0kb file

Post by Alex »

Hello,

I think you are using the evaluation version of SDK. Evaluation version of SDK does not allow to save RGB image to a JPEG file.

Best regards, Alexander


Page 1 from 1: 1