Image Saving?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BSOB
    New Member
    • Jul 2006
    • 77

    Image Saving?

    If i want to save the image of a form (not including title bar or borders) that has no objects on it, how would i go about doing that? what format should i use?

    the purpose is to save the image that has been drawn on the form, and be able to re-load it onto the form upon request within the same program session (it has not been closed and re-opened) so if there is a way to save it to memory instead of disk, please describe it.

    also, is there a way to have a bitmap (or other image format) file open (in memory, not desplayed) and to be editing it, point by point. like, can i say the pixel x=3, y=3 is blue and have no effect on the rest of the image, but still have it in format for saving/loading?

    please help.
    thanks.
  • BSOB
    New Member
    • Jul 2006
    • 77

    #2
    Um... Cancel that.
    I've descovered savepicture and loadpicture
    handy little functions. ;)

    Comment

    • ponsalai
      New Member
      • Aug 2006
      • 1

      #3
      Hi...

      Will U pls tell me about your discovery of SavePicture and LoadPicture.... ?? Bcoz, I also want to do the same here... I am loading the picture to the PictureBox from a file and then storing it to database in binary form. And, again, I am retrieving from Database and displaying in the picturebox. Pls let me know how to do this...??

      Salai



      Originally posted by BSOB
      Um... Cancel that.
      I've descovered savepicture and loadpicture
      handy little functions. ;)

      Comment

      • BSOB
        New Member
        • Jul 2006
        • 77

        #4
        what i actually ended up using was one line:
        me.picture = me.image
        what that did for me, was whatever temperary drawing i did after the screen had been "saved" could be errased with "cls" (clear screen) and leave the perminent background.
        while trying to accomplish this, i came across savepicture and loadpicture.
        it will save an image to disk and load the image from disk.
        the file path is the argument for both methods. im not sure how you would work this into a database.

        Comment

        Working...