| View previous topic :: View next topic |
| Author |
Message |
Avadhani Guest
|
Posted: Thu May 10, 2007 8:11 am Post subject: Saving the contents of a TPicture object? |
|
|
My program lets the user open a BMP file.
Afterwards the user may delete the BMP
file from the disk.
I have to save the the contents of the
TPicture object including the contents
of Bitmap member (TBitmap) to a
TFileStream object. How can I do it? |
|
| Back to top |
|
 |
Hans Galema Guest
|
Posted: Thu May 10, 2007 2:27 pm Post subject: Re: Saving the contents of a TPicture object? |
|
|
Avadhani wrote:
| Quote: | My program lets the user open a BMP file.
|
Are you displaying the file for the user? If so, how?
| Quote: | Afterwards the user may delete the BMP
file from the disk.
|
Ok.
| Quote: | I have to save the the contents of the
TPicture object including the contents
of Bitmap member (TBitmap) to a
TFileStream object. How can I do it?
|
Asuming that you loaded the .bmp file in a TPicture,
how would what you write to the TFileStream (which lands
on disk) differ from the original file? Did you change
something?
Please clarify what you want the result to be.
Hans. |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Thu May 10, 2007 11:15 pm Post subject: Re: Saving the contents of a TPicture object? |
|
|
"Avadhani" <ranganath_avadhani (AT) yahoo (DOT) com> wrote in message
news:4642af99 (AT) newsgroups (DOT) borland.com...
| Quote: | I have to save the the contents of the
TPicture object including the contents
of Bitmap member (TBitmap) to a
TFileStream object. How can I do it?
|
Picture->Bitmap->SaveToFile("c:\\path\\myimage.bmp");
Gambit |
|
| Back to top |
|
 |
|