# GBMRX - A REXX adapter for GBM.DLL

## Introduction

GBMRX is a REXX adapter DLL for OS/2 and eComStation which REXX programs may use to load or save all bitmap file formats supported by the GBM.DLL (to/from a file).

Almost full feature set of GBM.DLL is provided by the REXX API. I/O remapping is not supported due to language restrictions.

The library also provides some btmap manipulation functions like scaling, reflecting, rotating and colour conversions. These operations are done in-memory on the bitmap data and require no temporary files.

For being able to use it, the following additional files are required:

- GBM.DLL version 1.35 or higher (GBM Bitmap Format Handler)
  (version below will work but querying the number of pages within the bitmap will fail)

## Installing GBMRX

Just unzip the GBMOS2 package and copy the `gbm.dll` file into the same directory as `gbmrx.dll` and add this directory to the LIBPATH statement in CONFIG.SYS in case it is not already in there.