Board index » delphi » TPicture.SaveToFile have problem

TPicture.SaveToFile have problem

If I want to save '*.JPG' as follow
    Image1.SaveToFile('***.JPG');

It only to run Image1.Graphic.Bitmap.SaveToFile
What can I do? Who can tell me. Thanks!

 

Re:TPicture.SaveToFile have problem


Gene,
  Assuming that you have Jpeg in your uses section, you can do either:

image1.PICTURE.Savetofile('Foo.jpg');

OR

Image1.Picture.Graphic.SaveTofile('Bar.jpg');

Good Luck!!

-Dave
http://www.erols.com/dparsons
dpars...@erols.com\

Quote
Gene(IPLAB) wrote in message <7c7kh2$l7...@news.yzu.edu.tw>...

>If I want to save '*.JPG' as follow
>    Image1.SaveToFile('***.JPG');

>It only to run Image1.Graphic.Bitmap.SaveToFile
>What can I do? Who can tell me. Thanks!

Other Threads