Converting BMP To JPEG

I am programming in Windows API that is Windows SDK through which I created a BMP and saves it to the hard disk with .bmp extension or rather say that I have made my own paintbrush. I want to change this .bmp file into JPEG so that it becomes file of JPEG format through any Windows API function or through any other utility (third party or file-conversion or whatever). Please let me know this and please tell me the site(s) on which I can get this utility or information about this. It's more better if you the Windows Programming Function (API) for that.
austin123Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

IthurielCommented:
if you want third party graphic software to do the conversion, just get capture professional v 3.0, there is a demo version available.  or even easier, use windows imaging software available in any windows operating system.
0
dovedoveCommented:
Sorry, but I do not fully understand your question. If it is that you want to convert a graphic file from bmp to jpeg Irfanview, a freeware program will do this conversion.
Available from http://stud1.tuwien.ac.at/~e9227474/english.htm
0
morbiusxCommented:
dovelove got to this first i see i also recemmend InfranView i use it personally.
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

techpageCommented:
ACDSee 32 !!! converts any image file-types !!!
0
austin123Author Commented:
I want to do it from within my application do not want to run any other application.

Anyway thanks a lot everyone for your great effort and precious time.


Thanks


0
ullaspaCommented:
Hi!

Here's the link to free source code of a .bmp to .gif conversion.

http://www.href.com/pub/source/GIFIMAGE.PAS

I don't know the souce for .bmp to .jpg sorry!!!

Regards,

Ullas P.A.
0
ullaspaCommented:
Hi!

This link might help. This has a C source code for doing the conversion.
Check it out anyways.

http://www.catenary.com/howto/bmp2jpeg.html

Regards,

Ullas P.A.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Graphics Software

From novice to tech pro — start learning today.