Does Tk support JPEG/GIF/XPM/etc?
As of Tk4.2, Tk supports XBM (X bitmap) for bitmaps as well as PPM (portable pixmap, a 24 bit format) and GIF (graphics interchange format) for photo images. The Tk Image Extension (http://purl.oclc.org/net/nijtmans/img.html) by Jan Nijtmans (mailto:j.nijtmans@chello.nl) contains format handlers for XBM, XPM, JPEG, PNG and TIFF and the pixmap image type. Further image formats can be added via DLLs with the Tk C command Tk_CreateImageType (along with code to read that format, of course).