1# -*- tcl -*- Tcl package index file 2# --- --- --- Handcrafted, final generation by configure. 3 4package ifneeded @PACKAGE_TCLNAME@ @PACKAGE_VERSION@ [list load [file join $dir @PKG_LIB_FILE@]] 5 6# Compatibility hack. When asking for the old name of the package 7# then load all format handlers and base libraries provided by tkImg. 8# Actually we ask only for the format handlers, the required base 9# packages will be loaded automatically through the usual package 10# mechanism. 11 12# When reading images without specifying it's format (option -format), 13# the available formats are tried in reversed order as listed here. 14# Therefore file formats with some "magic" identifier, which can be 15# recognized safely, should be added at the end of this list. 16 17package ifneeded Img @PACKAGE_VERSION@ { 18 package require img::window 19 package require img::tga 20 package require img::ico 21 package require img::pcx 22 package require img::sgi 23 package require img::sun 24 package require img::xbm 25 package require img::xpm 26 package require img::ps 27 package require img::jpeg 28 package require img::png 29 package require img::tiff 30 package require img::bmp 31 package require img::ppm 32 package require img::gif 33 package require img::pixmap 34 package provide Img @PACKAGE_VERSION@ 35} 36 37