converting bmp to jpg

Alex

Diamond Member
Oct 26, 1999
6,995
0
0
is there any way to do this in VB?? like if i have a mini file browser program viewing bmp files and i wanted to change them to a compressed jpg with the press of a button?

thx!
 

corkyg

Elite Member | Peripherals
Super Moderator
Mar 4, 2000
27,370
239
106
I suppose you could write a program to do that - but it only takes a very few clicks to do it in XP's Explorer. Set your view to Thumbnails, and go to the folder with the BMP files. Click on the picture you want and it opens in a viewer, and at the bottom is a diskette icon for "SAVE." That pops up a sort of SAVE AS menu and at the bottom you can select the image format as JPG as well as the location and name.
 

Alex

Diamond Member
Oct 26, 1999
6,995
0
0
i know but when i have to do like huge batches of these in a row constantly it gets kinda annoying...

so any tips on the actual program code?
 

singh

Golden Member
Jul 5, 2001
1,449
0
0
Do you want to write an application to do this? I have no experience in VB, but the app would not be too complex to write in (V)C++. There are open-source/free libraries available that can convert bmp files to jpegs. So I guess the main coding would only involve writing the interface.

However, I am not sure whether libraries are available for VB.
 

Alex

Diamond Member
Oct 26, 1999
6,995
0
0
well i don't know any C so if anybody can help me in VB or show me one of these libraries singh mentioned i'd be really greateful! :)