I have a JPEG image (actually a BLOB in the database) that I want to import / convert into a "Bitmap" structure in memory. The reason is because I use a third-party library that cannot handle JPEG images, and I need to transfer an uncompressed bitmap (as a pointer). All I have found so far are ways to convert between different formats on disk, but first save the image as a bitmap and re-import, it will take too much time.
I know little about .NET, but I think System.Drawing.Bitmap should be able to store uncompressed data. I am working with C # and Visual Studio 2008.
source share