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?
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?
wut compression method u wanna use?
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.
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.
I believe saving it as jpeg instead of bmp does the trick.