Date: Thu, 8 Jul 2004 16:28:40 +0100 (BST) From: Tojo Punnoose Subject: Help with jpeg drawing in microwindows Hi Greg, I am trying to draw a jpeg image using the following piece of code in microwindows. extern int fl_window; extern GR_GC_ID fl_gc; long imgId = GrLoadImageFromFile(img, 0); GrDrawImageToFit(fl_window, fl_gc, x, y, width, height, imgId); GrFreeImage(imgId); It draws all the images, but when it comes to some jpegs which has a white background, it doesnt show the white background, but instead shows the window background.. Am i missing something here, while drawing the image..? It would be of great help, if you can point me to something... thanks tojo ___________________________________________________________ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com