Source for Generalised Bitmap Module ------------------------------------ I wrote this all in my spare time. I hereby place this source code in the public domain. Please feel free to use this source in any way you please. Do not try to exclude others from using this source. No guarantees provided, and support is in my scarce free time. I cannot guarantee not to infringe on any intellectual property. Unzip with the -d option to make the following directories :- . Bits from elsewhere, included to make source complete. standard.h is a common header with just some standard typedefs. scroll.* is a pre-built OS/2 2.x PM scroller control. .\gbm Fully portable 32 bit C code that provides most of the functionality. Has been compiled on OS/2 2.x, AIX and other 32 bit platforms. Provides librarys to perform file I/O, error-diffusion, halftoning, colour reduction, reflecting, rotating, transposing and cropping. .\gbmv Simple OS/2 2.x PM bitmap viewer. Simply provides application whose client displays a bitmap. .\gbmdlg Provides a derivation of WinFileDlg, which is designed to allow the user to specify the file for loading or saving. Has additional entryfield for "Bitmap specific options". Has "Bitmap", "GIF", "PCX" etc. in the Filetypes combo box. Includes help source to generate accompanying help text. .\gbmv2 Sophisticated OS/2 2.x PM bitmap viewer with menu and dialogs to give access to bitmap manipulation tools. Full help. Each directory effectively defines one of my projects. They should be built in the order listed above, because later projects use headers/librarys etc. from the earlier ones. If a makefile uses stuff from another directory, it accesses it via a make variable defined at the start. In this way, if I move a directory, I need only change a line at the top of a makefile. In fact the source is supplied with makefiles that work on my machine. So you will need to edit the makefiles and change the following lines to :- COMMON = to place where . directory unzipped to SCROLL = to place where . directory unzipped to GBM = to place where .\gbm directory unzipped to GBMDLG = to place where .\gbmdlg directory unzipped to {{{ Andy Key Internet: ak@vnet.ibm.com # Contract valid until September 1994 IBM-VNET: AKEY AT HVTVM5 # These addresses valid at least until then.