Hey guys, this should be fun:


I want to be able to format a picture however I want.

Let me explain. My users don't know the difference between gif's, bmp's or jpeg's, nor they know anything about pixels or KBites.

They have to chose a picture from their disk to import to the application.

The thing is, that I want to be able to format the picture to a Jpeg, with a fixed 200*100 pixels size and under 20KB, no matter what format they have chosen.

Is this possible from VB?, any API that can do this?

My idea is to write a com object that receives the picture as a parameter formats it and returns a jpeg formatted after my specifications.

Can this be done?
any suggestions?
Please help,

Best regards
André