Im trying to convert a JPEG image, which ive already loaded into memory, into a BMP (also in memory). I tried using the libjpeg release from IJG but it has over 100+ errors in it and refuses to compile. Can anyone provide an example using the GDI to process images entirely in memory.