November 5th, 2002, 12:10 PM
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???
November 5th, 2002, 02:19 PM
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
November 5th, 2002, 04:24 PM
For file formats see:
jpg is in graphics section and about the 5th page
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!