home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Multimed / Multimed.zip / ewocam11.zip / WCamExit.cmd < prev   
OS/2 REXX Batch file  |  1998-06-17  |  447b  |  12 lines

  1. /* WCamExit.CMD */
  2. /* This REXX script will be called from EWOCam/2 after a snapshot image is taken */
  3. /* It can be used for post-processing the bitmap file */
  4. /* This example converts to another JPEG using the GBM library */
  5. /* EWOCam/2 passes the Bitmap filename without the extension ".BMP" */
  6.  
  7. PARSE ARG Filename  /* Get the Filename of the Bitmap (without ext.) */
  8. GBMREF.EXE Filename||.BMP Filename||.JPG
  9. DEL Filename||.BMP
  10. EXIT
  11.  
  12.