Images: compressing jpeg in memory
Images: compressing jpeg in memory
RealWorld Graphics logo    
Not logged in.  
IndexSoftwareGraphicsArticlesDiscussMore...

Login/Register
Forum List
Announcements
Icons and Cursors
Images
3D graphics
Win32 C/C++/VB
.NET C#/C++/VB
Tips and tricks
General discussion
User List
Search this site using Google

Is the speed of this web adequate?

Select background

Back to forum Images

compressing jpeg in memory

2006-02-01Author: IngegnereCT
Hello i have to use a DIB image as texture.
but it is in another PC!
so for transfer the image i think i have to compress it in JPeg without write it in the HD
as here:

Cimage *image;
image->save("new.jpg";

because it will be more quickly and i can break my HD using the HD many times.
So, How can i write a Jpeg in memory and transfer it to another pc where i can reconvert it in a DIB image?
do you prompt me alternative metods?
my problem isn't how to transfer but how to compress

thanks a lot

2006-02-02Author: Vlasta
I do not know what library for image processing you are using, but I recommend you to study its documentation. It is likely that your library is able to compress images in memory. If not, check out for example
"libjpeg". Alternatively, Windows 2000 and higher can use and work with JPGs in their bitmap and DIB functions.


Post Reply

Please login or register before posting.

Message text:


Back to forum Images

Copyright © 2005-2007 RealWorld Graphics. Contact: info@rw-designer.com.