Results 1 to 17 of 17

Thread: VB - Convert BMP File to JPG File

  1. #1

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    VB - Convert BMP File to JPG File

    This little app converts BMP files to JPG files. For those of us who do not have commercial programs that do that (and much more), one use is to enable you to copy a screen, error message, or whatever to Paint, then to convert the BMP file that Paint creates to a JPG file so that you can post the picture so that it can be seen in a post.

    BTW, for those of you who don't know how to do that you
    1. Attach the JPG file to a new post or thread
    2. Submit the new post
    3. Click on the attachment in the new post
    4. Copy the URL
    5. Edit the original post and add the URL between [img][/img] tags

  2. #2
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803
    When I open the project, I get this error "... IMGEDIT.OCX could ot be loaded... "

  3. #3

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431
    Maybe it's an old control that I passed along to myself from VB5 (or earlier). In any case, check your Components and see if you have Wang Image Edit Control in your list and browse for it if it's not there. If you can't find it then send me an email and I'll send you the ocx in a zip file. Unfortunately the zip is just slightly over the size limit allowed for posting here.

  4. #4

  5. #5
    New Member
    Join Date
    Feb 2003
    Location
    Arlington, TX
    Posts
    11

    Exclamation Bitmap to JPEG Update

    Here is an updated version of the code that MartinLiss posted. I am not sure if it is true for everyone, but the conversion did not work for me at first, so I changed a little something up, and it worked. Good luck.
    Attached Files Attached Files

  6. #6

  7. #7
    New Member
    Join Date
    Feb 2003
    Location
    Arlington, TX
    Posts
    11
    Can you just email me? It won't compress small enough and I do not want to host the file on my site.

  8. #8
    New Member
    Join Date
    Feb 2003
    Location
    Arlington, TX
    Posts
    11
    My email address is [email protected]

  9. #9

  10. #10
    New Member
    Join Date
    Feb 2003
    Location
    Arlington, TX
    Posts
    11
    Honestly, I do not know. I appologize for the inconvienence.

  11. #11

  12. #12
    Addicted Member TheSarlacc's Avatar
    Join Date
    Aug 2002
    Location
    Somewhere close
    Posts
    185
    i dont suppose any ones heard of the intel ijl15.dll file before? this also works wonders when converting bmp to jpg. ill see if i can find the example on my box somewhere.
    Get Quoted:

    "If Shane Warne had given his mobile phone to Russell Crowe, neither of them would be in trouble."
    "She has more troubles than a centipede with its legs crossed."
    "For every action, there is an equal and opposite Government program."


  13. #13
    New Member
    Join Date
    Feb 2003
    Location
    Arlington, TX
    Posts
    11
    I have really been needing a utility to convert BMP to a pure JPEG lately, but have only found Bmp2Jpeg.dll. I really don't want to have to use the Image Edit control, so I x'ed that off of my list. I'd prefer to use a DLL, so it would be greatly appreciated if you do find an example. Thanks in advanced.

  14. #14
    Addicted Member TheSarlacc's Avatar
    Join Date
    Aug 2002
    Location
    Somewhere close
    Posts
    185
    here u go! found an example finally. so much crap on my pc.

    its from a program that i made, but you should be able to understand it and mess with it any way you have to.
    Get Quoted:

    "If Shane Warne had given his mobile phone to Russell Crowe, neither of them would be in trouble."
    "She has more troubles than a centipede with its legs crossed."
    "For every action, there is an equal and opposite Government program."


  15. #15
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    You might want to have a look at this if you're using the Kodak imaging controls.

  16. #16
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    The only drawback of using Wang or Kodak controls is that you CANNOT distribute them.

  17. #17
    Frenzied Member wpearsall's Avatar
    Join Date
    Feb 2002
    Location
    England / UK
    Posts
    1,065
    Originally posted by TheSarlacc
    i dont suppose any ones heard of the intel ijl15.dll file before? this also works wonders when converting bmp to jpg. ill see if i can find the example on my box somewhere.
    Is there any fee's etc for using & distributing this DLL in your own app's?

    where did u get the DLL from?
    Wayne

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