|
-
Mar 30th, 2004, 03:14 PM
#1
Thread Starter
Junior Member
Compressing a bitmap image without going to HDD [RESOLVED: Save as jpeg]
I have a bitmap/image created in memory (not on HDD) and want to compress it before saving it to database. For security reason, I don't want to save it on the disck.
Any idea how to compress it this way?
Last edited by jkothia; Apr 7th, 2004 at 01:40 PM.
-
Mar 30th, 2004, 06:08 PM
#2
wut compression method u wanna use?
Tips:
- Google is your friend! Search before posting!
- Name your thread appropriately... "I Need Help" doesn't cut it!
- Always post your code!!!! We can't read your mind!!! (well, at least most of us!)
- Allways Include the Name and Line of the Exception (if one is occuring!)
- If it is relevant state the version of Visual Studio/.Net Framwork you are using (2002/2003/2005)
If you think I was helpful, rate my post  IRC Contact: Rizon/xous ChakraNET/xous Freenode/xous
-
Mar 30th, 2004, 08:32 PM
#3
I wonder how many charact
The whole thing is, all of this can be achieved with buffers and streamreaders/writers. You don't have to use a file I/o, you can do it straight to memory.
-
Mar 31st, 2004, 01:42 AM
#4
Thread Starter
Junior Member
I am not sure as to what compression method I want to use. I'd sure like to cut down the size of bitmap file which is going to be approx 200x600 (a 100x100 ~= 65kbytes).
I am able to create the bitmap in memory and store it in database. Just don't know how to compress it. I am quite new to these aspects of VB. I've been dealing more with Access Basic, and that too in my spare time.
-
Apr 7th, 2004, 01:39 PM
#5
Thread Starter
Junior Member
I believe saving it as jpeg instead of bmp does the trick.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|