Click here to Skip to main content
15,615,448 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi Friends,,,,,

Is it possible to Compress the images and save it to database and Decompress it and display it back from Database......?

As i m saving the images the database sizes goes on increasing. So i want to Comprees it...

Please help me in this regard...

ASP.NET as front end and SQL as Database

Instead compression/decompression you can use file stream.

"SQL Server has a file stream data type. This data type allows users to store content on the disk instead of the database as a real file." 

Refer below link[^][^][^]

How Do I: Use SQL File Stream[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900