How can I create a surface from a jpg instead of a bmp?