Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I convert BMP to JPG using VB

Status
Not open for further replies.

adasoft

Programmer
Joined
Jan 31, 2002
Messages
132
Location
IN
Hi,

How can I convert BMP file to JPG file using VB code without using paid DLL's like VIC32.DLL (Virtual image converter). Can anyone help me?

With regards,
Adasoft
 
Thax for the link. But it works only on XP machine. How can I use on other OS.
 
Did you read the whole of my comment in that thread? Sure, the Acquisition Automation Library is only vailable for XP, but I also point out that you can do the same thing (although with more difficulty) with GDI+, which is available for all MS operating systems except W95. The download location for the redistributable components is located here (a change from the one given in the thread):
I also provide a link in that self-same thread to a type library that makes using GDI+ somewhat easier from VB. I'll repeat it here:
Additionalluy, there is also a link in that self-same thread to thread222-489226, in which I provide a further link to a free DLL you can use. That link appears to have expired, so I've done the legwork for you and found its homesite:
And finally, thread222-760856 contain my example code on how to convert a BMP to a JPEG using GDI+ and the GDIplus type library
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top