Timage

Timage

Post by Igor S » Thu, 09 May 2002 00:51:15


Hi,

does anyone know if there exists a function alike

Image1->Picture->SaveToFile("c:\\temp.bmp");
or
Image1->Picture->LoadToFile("c:\\temp.bmp");

but it has to load and save(respectfully) from the memory rather than a
file?

Thank you

 
 
 

Timage

Post by Cusk » Thu, 09 May 2002 01:33:24


Yes, you can use SaveToStream or LoadFromStream combined with a
TMemoryStream object.

> Hi,

> does anyone know if there exists a function alike

> Image1->Picture->SaveToFile("c:\\temp.bmp");
> or
> Image1->Picture->LoadToFile("c:\\temp.bmp");

> but it has to load and save(respectfully) from the memory rather than a
> file?

> Thank you