Re: Bitmap to Jpeg converter
Well, You could always temporarily save on disk the image in the wanted format, and then read its content and delete the file:
http://msdn.microsoft.com/en-us/libr...=vs.90%29.aspx
Re: Bitmap to Jpeg converter
Probably MemoryStream (msdn link) might help you do this.
Re: Bitmap to Jpeg converter
Daniela,
If you want to do it like Talikag suggested, there are many libraries and utilities that perform the conversion (file to file). For example, there's a free command line tool we provide that performs image conversion among a few dozen files formats. You can find the converter here: http://www.leadtools.com/downloads/d...?category=free
However, if you want to do the conversion in memory without having to save to disk, or you require more control over the load/save, you might want to look at the commercial imaging toolkit.
Re: Bitmap to Jpeg converter
I would advise against use of commercial image manipulation toolkits; there are plenty of fully-featured free, open-source ones. The best example is ImageMagick (http://www.imagemagick.org/script/index.php) and its C# bindings: https://imagemagick.codeplex.com/