Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does Tk support JPEG/GIF/XPM/etc?

GIF JPEG support tk xpm
0
Posted

Does Tk support JPEG/GIF/XPM/etc?

0

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).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.