# Img Manual

Introduction | Installation | Format handlers | External libraries

### Introduction

Img is a Tk extension, adding support for many other Image formats: BMP, XBM, XPM, GIF (with transparency), PNG, JPEG, TIFF and postscript. This version only works with Tcl/Tk 8.0 (any patchlevel) or 8.1. If you are using Tk4.2 or lower, please stick with Img1.1.4 (which is still available).

Currently there are two identical source distributions:

| img12.zip | (for Windows) | (about 1.7 Mb)
| img1.2.tar.gz | (for Unix) | (about 1.5 Mb)

And a binary distribution

| img12.exe | (for Windows) | (about 1.7 Mb)

If you want to write images to disk which contain transparency information (e.g. GIF89 or PNG with alpha channel), a patch for Tk is needed. See the /patches/ subdirectory for more information. Without this patch only GIF87 will be written, and the alpha channel will be missing from PNG files. In other words: The background color will not be as intended but everything else should be O.K.