The Image 3 package provides utilities for accessing 24-bit jpeg, png, bmp, tga and portable anymaps in J. It requires J5.01 or later. The core functions allow reading and writing image files as 3-dimensional J arrays. The core jpeg and png utilities are accomplished using calls to the included dll. These external libraries are based upon open source code.
The addon includes several scripts. The main script, image3.ijs, provides J functions for the basic image reading, writing,and image size either through library calls or directly defined J functions. Another script, html_gallery8.ijs, provides J functions that create thumbnails and image galleries under J program control. Sample scripts and a rotation form script are also included.
Note: the package was developed for J5 and has not yet been updated for J6. The code will likely fail in J6.
Download the appropriate file and upack in the J addons directory to create the image3 directory.
Windows image3c_windows.zip
Linux image3c_linux.tar.gz
Mac OS X image3c_darwin.tar.gz
After it is installed, run the Image 3 labs.
The libraries for the package were provided by Zachary X. Reiter while the scripts were joint work between Zach and Cliff Reiter (reiterc@lafayette.edu, Mathematics Department, Lafayette College,Easton, PA 18042 USA).
