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
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.
Find out how Vista icons differ from XP icons.
See how RealWorld Icon Editor handles Vista icons.