PDA

Click to See Complete Forum and Search --> : how to save processed image??


shaileshganatra
Oct 20th, 2002, 11:35 AM
hi,

i have done some work on images and generated many effects.

But the problem is after modifying the image in picture box i am unable to save it.

Plz, tell me how i can get rid of this?

thanx

Sastraxi
Oct 20th, 2002, 12:24 PM
SavePicture Picture1.ImageYou must save your Picturebox's image property, and not its picture property. If that doesn't work, use the refresh property of the picturebox before you save it.

shaileshganatra
Oct 20th, 2002, 01:25 PM
Thanx

But this also doesn't work.

And when i refresh picture box it restores to the original image.

Plz try to solve it.

bye

Shell
Oct 20th, 2002, 02:06 PM
You'll have to set the Autoredraw property to true and then use the savepicture function.


Picture1.AutoRedraw = True
SavePicture Picture1.Image


Offcourse you have to replace the Picture1 by the name of the picturebox you are using.

-Shell-

shaileshganatra
Oct 20th, 2002, 03:33 PM
hey,

its working!

thanx

i have done it.

thank u very much.

bye.