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 : Wednesday, August 23, 2006 5:39:37 AM(UTC)

Gabe  
Gabe

Groups: Registered, Tech Support
Posts: 47


The attached project is a C# 2005 project that will convert any file to the LEAD ABC format. You first choose a file, then you can either load a page of the file, convert the entire file to ABC using the selected QFactor. Save it as CCITT Group 4 or save the file using each of the QFactors (it saves the entire file using all QFactors). Scanning functionality is also included. Each operation (except the scanning) is timed (i.e. loading a page and saving a page). Enabling averaging forces the application performs each operation 10 times, then outputs the average time. This application shows you which QFactor works best for your type of files.

The ABC compression can reduce the files up to 2/3 the size of a CCITT Group 4 TIFF. The cleaner the image the better the output size. Most of the ABC QFactors are lossy compressions so some quality loss will occur. The tradeoff to the high performance ABC compression and decompression is that it can be slower than CCITT G4. There are ways to optimize the speed by checking the Load Fast check box and the ABC files will load much faster. Modified 3 Fast provides the smallest file size but takes some time to compress. Also there can be significant loss in quality. Our tests have shown LossyFast to be the best all-around option to use for most types of images. The file sizes are roughly half that of CCITT Group 4 and the compression time is the fastest with little loss in quality of the image. Below is a table of test results that compare each of the QFactors to each other and CCITT Group 4. The other factor is upload time based on different bandwidths. As the data shows, ABC will win out due the smaller file size on small bandwidths. The larger the bandwidth, however, the less significant ABC becomes. In this case we went with LossyFast due to the higher quality as the images were going to be OCR'ed once uploaded to the server.

File Attachment(s):
DotNetV14SaveAsAbcAllQFactors.zip (2,117kb) downloaded 34 time(s).
Gabe
Developer Support
LEAD Technologies, Inc.

LEAD Logo
 

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 : Thursday, February 19, 2009 1:34:38 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,331

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

I converted the SaveAs ABC All QFactors project to use LEADTOOLS v16 .Net classes. The updated demo is attached.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
File Attachment(s):
DotNETV16SaveAsABCAllQFactors.zip (13kb) downloaded 35 time(s).
 
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-2017, Yet Another Forum.NET
This page was generated in 0.364 seconds.