I want to save a file as JPEG format....
How can i do it ?
Help me....................
Printable View
I want to save a file as JPEG format....
How can i do it ?
Help me....................
Ok, feel free to shoot me if there is an easier way...
There is really no API for doing anything with JPG files. Bitmaps is the image format that windows uses natively. You really have only two choices.
1. Purchase an object to do it for you...
2. You can load the image into a picture box where you can access the individual pixels and then write the file yourself using your own functions. Of course you will need to study the JPG file format to write your own functions.
Wotsit's Format
http://www.parksie.uklinux.net/savejpeg.zip
If it's still there :)
Hi anand,
See this file you'll get a complete idea of what you are getting into..its vb code no dlls.
Best to use dlls though-the pure codes are tooo slow,
Do me a favour and tell me when you get a good code..(without Dlls or ocx) I need it too :)
Good luck!
Regards,
LXS
India
That's GIF though...