ChTIFF 1.0 is the Ch binding to Tag Image File Format (TIFF) C library version 3.5.7. ChTIFF enables all functions in the TIFF library for use in Ch. With ChTIFF, these functions can run in Ch interpretively without compilation. ChTIFF allows .tif images to be used in Ch. More information about Ch can be found at http://www.softintegration.com/. More information about TIFF can be found at http://www.libtiff.org. or http://www.remotesensing.org/libtiff/ More information about ChTIFF can be found at http://chtiff.sourceforge.net or https://sourceforge.net/projects/chtiff/. Contents: This directory contains the package ChTIFF created by command src/createtiff.ch demos --- TIFF demo program in C ready to run in Ch dl --- dynamically loaded library include --- header files lib --- function files tinclude --- header files to be copied to CHHOME/toolkit/include src --- source code to create package ChTIFF README --- this file Installation Instructions: -------------------------- Assume is the directory where Ch is installed, for example if Ch is installed in C:/Ch, then C:/Ch should be used instead of for instructions below. Assume is the directory where ChTIFF package is installed, for example shall be substituted by C:/Ch/package/chtiff (1) Move the directory ./chtiff to /package/chtiff. /package/chtiff becomes the home directory of Or If you do not want to move the directory, you should add a new path to the system variable _ppath for package path by adding the following statement in system startup file /config/chrc or individual user's startup file ~/chrc. _ppath = stradd(_ppath, ";"); (2) Copy header files in tinclude/ to /toolkit/include directory. Or add the system variable _ipath in system startup file indicated in previous step by adding the following statement. _ipath = stradd(_ipath, "/include;"); The above step (2) will not be necessary if the following code fragment is in application programs. #pragma package (3) In the directory /dl there are three .dl files, one each for Linux, Windows, and Solaris; rename the file corresponding to your operating system to libtiff.dl. For example, if you are running windows, rename "libtiff.dl_Windows" as "libtiff.dl". Another option is to simply run the script /src/createtiff.ch, which will automatically make the correct .dl file for your OS. Run Demo Programs in Directory demos: ------------------------------------- (1) start ch (2) run program name in demos dir. Uninstallation Instructions: ---------------------------- (1) Remove ChTIFF_HOME directory (2) Remove header files in /toolkit/include copied from tinclude, if you have copied files tinclude to /toolkit/include during installation.