ContentsWhat is TCompress?
What can it do?
New in V10.0
Download a copy
Tips & Tricks
September 2012: TCompress v10.0 and TCompLHA v10.0
now add support for RAD Studio XE3 (Delphi and C++ Builder) including 64-bit platforms. This is a chargeable upgrade
for users of all earlier versions of TCompress.
(1) this version supports only 32-bit database blob compression for the 32-bit platform, as there is no 64-bit version of the BDE
(2) the download no longer includes object files for C++Builder, Kylix, Delphi.Net or for Delphi compilers earlier than D2009. For those compilers, please evaluate using the Delphi DCUs provided and obtain a full source license to use with your compiler, rather than a standard license..
Download it here.
December 2011: TCompress v9.4 released, fixing a small bug related to DLL compressed resources, and using code-page independent strings in CompressString and ExpandString. Free upgrade for existing TCompress v9 registered users - just download and use the latest component file.
November 2011: TCompress v9.3 and TCompLHA v9.3 now add support for RAD Studio XE2, Delphi 2012 and C++Builder 2012. No source changes. Free upgrade for existing TCompress v9 registered users - just download and use the latest component file.
TurboNote+: Have you downloaded TurboNote+, our award-winning onscreen sticky notes and instant messaging program? Great for developers, great for offices, great for remembering tidbits of information. Or try the freeware version at http://TurboNote.com/TBNINTRO.
Note: If you're specifically looking for LHA and LHArc-compatible compression and archive management, check out our TCompLHA component set. Ideal for backup, security and compressed communications.
TCompress provides native components for Delphi (including .NET), C++ Builder and Kylix supporting easy creation of multi-file compressed archives, as well as database, file and in-memory compression using streams.
Three compression methods (RLE, LZH1 and LZH5) are built in, with "hooks" for the easy addition of custom compression formats. Compressed file protection using keys is supported.
TCompress also includes drop 'n play components for automatic database blob, image, memo and rich text, based on the VCL's TDBMemo, TDBImage and TDBRichText components.
Bitmap images compress by up to 98% when using LZH5, hence there is a massive saving in disk space and disk or network access when using these components.
TCompress comes with an extensive demonstration, many source examples (including how to make a self-extracting EXE) and comprehensive help and keyword files.
Included in the TCompress set are:
|TCompress component general purpose multi-file archive, resource and stream compression. Includes RLE and LZH compression as standard|
|TCDBImage component uses TCompress to automatically compress/expand database image fields|
|TCDBMemo component uses TCompress to automatically compress/expand database memo fields|
|TCDBRichText component uses TCompress to automatically compress/expand rich text database fields|
|COMPDEMO application extensive full-source drag-and-drop demonstration of multi-file and database field compression|
|Numerous source examples several example files showing how to use the TCompress event handlers, how to work directly with database blobs (e.g. saving compressed arrays), how to store compressed resources in your EXE or DLL and how to implement custom compression|
TCompress and its companions provide very comprehensive data compression capabilities. Most developers might only need to drop a TCompress component on a form and call its ExpandFile/CompressFile methods in order to create and work with their own multi-file archives...
Others might drop TCDBMemo/TCDBImage/TCDBRichText components on as well and simply interact with them to have text and picture data automatically compressed and decompressed when they are stored in a database (requires BDE, hence 32-bit platform only).
...and some developers might use the TCBlobfield class to store all kinds of data (sound, numbers, video etc) directly into compressed database blobs.
New in TCompress v9.4 (December 2011)
New in v9.3 (November 2011):
New in v9.2: Added support for Delphi 2011 and C++ Builder 2011 (RAD Studio XE).
New in v9.1: Added support for Delphi 2010 and C++ Builder 2010 (RAD Studio 2010).
New in v9.0:
If you bought source units for an earlier version, the upgrade fee above includes a source upgrade for any units you own.
For proof of registration, please supply your existing RegName and RegNumber. For proof of source code ownership, please supply the first four source lines of each unit you own.
To order your upgrade or crossgrade, use our online form or use the form in the Registration section of Compress.hlp.
Come back soon to find about about new TCompress developments and add-ons.
Download TCompress V10.0 today! (528KB) (<=== this link will do it)
TCompress Registration and License fee: $US99
Full source code of the Compress unit is also available for an additional $US59.
The Compctrl unit (database components) source is $US59.
On registering, you will receive:
We accept registration via Mastercard, Visa or bank draft/electronic transfer. You can register online using our secure server. Alternatively, just print and fax or email the handy form in the Registration section of the Compress.hlp file.
"I found that best compression rates on large tables are achieved by using first coRLE to squeeze the table quickly into 25% of it's original size and then coLZH to finish it up. It gives the best compression/time ratio and the best compression rate ever: 1,076,152 bytes squeezed down to 39,300bytes."
Bob Heida (email@example.com)
"I tweaked the Compress method source so it always puts a header in compressed blobs. Having done that, I can now compress multiple items into a single database field very useful if you have a range of information to store in a single record."
Lee Slater (firstname.lastname@example.org)
"Well, I just tested using TCompress with images in Interbase and it works just fine. The trick seems to be to set the TCblobfield size to 1. It's the same you'd write for any other SQL database I think."
Ricky Engberg (email@example.com)
If you have any tips of your own to add, or particular usage questions, please email firstname.lastname@example.org.
"...we were quite frankly amazed with not only the speed, but the compression ratios achieved... To say the least,
for ease of use, speed, reliability, functionality, and robustness of implementation, these components are simply outstanding!"
Extract from the TCompress and TCompLHA review by The Think Tank.
"Trouble free, big in, little out tool, love it to bits. Easy to use, rapid response to Delphi changes, what more could I ask? I rarely use anyone else's components but this is one I
wouldn't be without."
Gordon Whittam (GWhit41980 @ aol.com)
"Once again, thanks for your prompt assistance. Your company's level of support is way above what I have come to expect from the industry!"
Tim at UFO Systems, Australia
"We've really been using this component of yours everywhere!!! It's great, but I still haven't figured out how to get it compress the caffeine in my coffee :)."
Richard at Computer Consulting Group (ccg @ mind.net)
"It took me less than a day to implement your TCompress in a dll that's backwards API compatible with our old library. It is a god-given control! (my P120-NT-box made an overnight compression burn-in test. I stopped it this morning with 15731 successfull compression iterations).... (far better than my good old compress.dll and PK libraries)."
Bob Heida (bobtsf @ login.cz)
"TCompress is the first component I've found that does what I want it to... and more. I didn't realize you could compress image and memo fields that's also a huge advantage for the program I'm working on."
Mike Yui, Queens University (3mry @ qlink.queensu.ca)
"Classy stuff! Well-designed, intuitive. I was able to use it without a glance at any help or instructions."
Lou Garner (lou.garner @ lunatic.com)
"It works! And where the previous component took 2.5 seconds to compress a 10K bitmap, TCompress is instantaneous!"
Jon Robertson (touri @ flash.net)
"I appreciate your support... the product I had to get ready for Comdex is PictureAlbum for Windows (made for Mediaminds Inc)...
"...TCompress continues to perform well for me. I have included it in Projector for Windows v4.1, a windows screen saver that uses a powerful image engine for the front end and a database for the backend. Each database is actually 3 files, the database file, a memo file which contains the image blobs, and an index.
"I use TCompress to archive these files together, so that the user need not be bothered with tracking several files. The database file, which is basically an index, is highly compressible with LZH. One of the things I point out to customers is that my archive files can actually GROW if you try to 'zip' them."
Bruce Nunnally (nunnally @ iadfw.net )
Webhub Site Automation Components.
If you're making interactive or database-driven sites, look no further. Webhub has unmatched power, performance and scalability in the site development world.
StreamCatcher, the IIS URL-filtering and translation utility. Ideal for simple and highly- automated sites alike, excellent robot handling, extremely efficient and versatile. You won't realise how much you needed it until you have it.
IIS Backup - the perfect IIS metafile backup and replication utility. Never again lose track of your important IIS settings. Free 30-day trial available.
Have you downloaded TurboNote+, the shareware version of our award-winning onscreen sticky notes and instant messaging program? Great for developers, great for offices, great for remembering tidbits of information. Or try the freeware version at http://TurboNote.com/TBNIntro.