Wrox Programmer Forums
|
Visual Basic 2008 Professionals For advanced Visual Basic coders working in version 2008. Beginning-level questions will be redirected to other forums,
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2008 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 2nd, 2009, 02:52 AM
Registered User
 
Join Date: Apr 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Post Compression Techniques

We are working on a VB.Net solution which will scan critical documents and store the digital version in a SQL Server 2005 database. The format of the documents could be a PDF files or a JPEG. Please suggest good compression techniques for faster storage and retrieval of digital documents.
 
Old April 2nd, 2009, 08:49 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Are you looking for compression technology that will take, say, a jpg and reduce the file size but still keep the file as a jpg or will something like GZip compression work? In the case of the former I am not sure how you would proceed with this, I am sure there is a component out there that provides this type of functionality but you would have to do some searching on google. As far as GZip compression goes, it is really trivial to compress and decompress a file with GZip from .NET. The relevant classes live in System.IO.Compression.

If you want something like TAR or Zip compression you can check out: http://www.icsharpcode.net/OpenSource/SharpZipLib/

hth
-Doug
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================
 
Old April 2nd, 2009, 09:05 AM
Registered User
 
Join Date: Apr 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks. I need to compress and store the compressed format as Binary in SQL Server. Let me try with GZip.





Similar Threads
Thread Thread Starter Forum Replies Last Post
programming techniques that makes website nice? dylanbutler Beginning PHP 0 May 23rd, 2008 01:05 PM
Paging Techniques Muhammad Zeeshan SQL Language 3 October 27th, 2007 12:50 PM
compression jaya_malini Java GUI 0 May 5th, 2005 10:01 AM
QueryString Techniques Help Needed phungleon SQL Server 2000 5 June 4th, 2004 11:16 AM
Requesting techniques use to learn ASP. cdplayer BOOK: Beginning ASP 3.0 1 March 19th, 2004 12:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.