Results 1 to 4 of 4

Thread: Save a BitMap DC

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517

    Save a BitMap DC

    I have a image in a DC floating around the computer. Its not in a control in other words. Is there a way I could save this image to a file?

  2. #2
    Fanatic Member PsychoMark's Avatar
    Join Date
    Feb 2001
    Location
    Netherlands
    Posts
    540
    Easy way: BitBlt to a picturebox and call SavePicture(PicBox.Image)
    Teaudirenopossum.Musasapientumfixaestinaure.
    (I can't hear you. There's a banana in my ear)

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517
    I cant use a picturebox. Is there another way?

  4. #4
    Fanatic Member PsychoMark's Avatar
    Join Date
    Feb 2001
    Location
    Netherlands
    Posts
    540
    Create the picturebox in memory?


    You could try to save the bitmap manually, I think I've done that too once........ oh, nope, I only read a bitmap directly from disk . You could reverse the process though...

    I don't know if it's any help, but here's the link anyways: http://psprogramming.multimania.com/...7/dd_zlib.html

    Download the 'Bitmap compression' file and take a look at the cBitmap Class...
    Teaudirenopossum.Musasapientumfixaestinaure.
    (I can't hear you. There's a banana in my ear)

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