ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Scanner -> Tiff w/LZW
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

rico

Russia
6 Posts

Posted - Apr 28 2013 :  20:10:02  Show Profile  Reply
Hello!
I need to get some images from a scanner and stored in Tiff file with LZW-compression in monochrome. I have studied example of VIA-Stsanner, but could not figure out how to organize the program record in the Tiff file with the desired compression settings. Help me, please.

Best regards,
rico.

xequte

39056 Posts

Posted - May 02 2013 :  02:21:35  Show Profile  Reply
Hi Rico

Sorry can you be more specific?

You might want to look at:

http://www.imageen.com/help/TIOParams.TIFF_Compression.html


Here's an example of saving a monochrome compressed image:

ImageEnView1.IO.Params.TIFF_Compression := ioTIFF_LZW;
ImageEnView1.IO.Params.BitsPerSample := 1;
ImageEnView1.IO.Params.SamplesPerPixel := 1;
ImageEnView1.IO.SaveToFile('D:\output.tif');


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: