Results 1 to 5 of 5

Thread: how to save processed image??

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2002
    Posts
    38

    Question how to save processed image??

    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

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    VB Code:
    1. SavePicture Picture1.Image
    You 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.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2002
    Posts
    38
    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

  4. #4
    Addicted Member
    Join Date
    Jun 2002
    Location
    Far.. far away! (Netherlands)
    Posts
    169
    You'll have to set the Autoredraw property to true and then use the savepicture function.

    Code:
    Picture1.AutoRedraw = True
    SavePicture Picture1.Image
    Offcourse you have to replace the Picture1 by the name of the picturebox you are using.

    -Shell-

  5. #5

    Thread Starter
    Member
    Join Date
    Sep 2002
    Posts
    38
    hey,

    its working!

    thanx

    i have done it.

    thank u very much.

    bye.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width