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

    Exclamation Convert BMP to JPEG (WITHOUT DLL)

    I'm writing a program and I need to convert BMP to JPEG. I read the other threads but in each, a DLL is needed. I need to make the conversion with straight VB code (or through a .BAS file) Is there any way to make the conversion WITHOUT an external DLL/OCX File???

  2. #2
    Join Date
    Sep 2001
    Québec, Canada
    Surely, but you'll have to know the BMP and JPG format. If you want to take a look at BMP format file, look for MSDN and the BITMAP functions and data types (BITMAPFILEHEADER, BITMAPINFOHEADER), this will allow you to read the information with VisualBasic OPEN method.

    I don't know about JPG format, you'll have to find it, maybe some projects might reveal it at http://www.planetsourcecode.com or http://www.vbcode.com

    CodeGuru VB FAQ Visual Basic Frequently Asked Questions
    VB Code color Tool to color your VB code on CodeGuru
    Before you post Importants informations to know before posting

  3. #3
    Join Date
    Jun 2002
    West Virginia
    For file formats see:
    jpg is in graphics section and about the 5th page

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.