CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    Saving image bmp/gif

    Can someone possibly tell me how to do this or what the problem is: I have an image on my program, i can save it as .bmp .gif or .jpg, but when i save it as all 3 (3 differnt files) they are all turn out the same file size. i.e. when i save a .gif or .jpg in my real paint program they are always half the size of .bmp files. Can someone tell me how to save .gifs at a much smaller size? I am soory if this is hard to understand i have been up all night. Thanks



  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: Saving image bmp/gif

    I think you'll find that although you are saving your bitmaps with an extension of GIF, JPG etc, you'll still be saving them in the BMP format. (Unless there's something you aren't telling us).

    In order to convert the files, you'll need a file-conversion routine. You can either find one on the net (search this forum for GIF, JPG and conversion), or write one yourself.



    Chris Eastwood

    CodeGuru - the website for developers
    http://www.codeguru.com/vb

  3. #3
    Guest

    Re: Saving image bmp/gif

    Wow, ok that makes sence. Yea, your right I was just saving the extention *slaps head*. I just spent a few hours searching all over the web and i did find a bmp to jpg sample that works, but what i need exactly is bmp to gif, and no one seems to have one. It seems everyone needs that but its no where to be found other than in a ocx I found that was shareware. I'm sure i cant write somthing like that, and clues on where to find a bmp to gif conversion sample? Appreciate it much.


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

Featured