Results 1 to 6 of 6

Thread: Saving Bitmaps

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2002
    Posts
    3

    Saving Bitmaps

    I am writing a practice play diagrm utility, and am having problems understanding how to save the bitmap loaded into a Picture Box.
    Tim

  2. #2
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,604
    maybe not what you mean:

    SavePicture Picture1.Picture, "C:\whatever.bmp"

    ??
    Wen Gang, Programmer
    VB6, QB, HTML, ASP, VBScript, Visual C++, Java

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    One note on SavePicture...if you have a GIF file or a JPeg loaded into your Picture box, it will not be saved as a JPeg or GIF...it will be saved as a bitmap.

  4. #4

    Thread Starter
    New Member
    Join Date
    Mar 2002
    Posts
    3

    SavePicture

    Actually didn't know about SavePicture or LoadPicture. That does allow to save the bmp loaded into the PictureBox.

    But when I save the image, any new items I placed on the image are not saved. I assume I am not really placing items on the bitmap itself.

    I am looking for a cheap "home grown" solution to Annotate images (bitmaps). The document imaging tools that I have looked at LeadTools, etc. are too expensive.

    Thanks for your help.

    TF
    Tim

  5. #5
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,604
    If you BitBlt some new piece of image to the picture,
    then change what I wrote to

    SavePicture Picture1.Image, "C:\mypic.bmp"
    Wen Gang, Programmer
    VB6, QB, HTML, ASP, VBScript, Visual C++, Java

  6. #6

    Thread Starter
    New Member
    Join Date
    Mar 2002
    Posts
    3

    .Image

    That would be it! Thanks.
    Tim

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