JImageMapper
JImageMapper is for html editors who needs a tool for generating image map coordinates given an image. JImageMapper is easy to use, just load an image, draw shapes on the image and add attributes. After drawing all images, just click on the "Generate HTML" button to generate HTML code for the image map.

System requirements
  • Minimum JRE: 1.6.0


JImageMapper on an eComStation machine with Open JDK
 
On the top left side the picture with the handle marked (difficult to see). On the right top side of the picture the contents of the code copied to the texteditor of OS/2. Under the picture the frame with the collected data from the picture above. At the bottom in FC/2 my code by hand. The example in the texteditor of OS/2 doesn't contain correct HTML code. As an example the program doesn't understand "NOHREF" which is correct syntax for HTML 4.01 Transitional. But that is okay for me, the most difficult part, collecting the coordinates is going very easy. This one was done in minutes and they took me hours by hand.
 


Installing JImageMapper
Download jimagemapper-0.4.1.jar (42Kb). Create a directory/map "imagemapper". Copy the jar file to the new created directory/map "imagemapper". That's all!

The jimagemapper.cmd file
With this file the program JImageMapper starts. I have made a jimagemapper.cmd file with the following contents;
@echo off
SET CLASSPATH=
set path=[drive: java]\JAVA160ga5\bin
set BEGINLIBPATH=[drive: java]\JAVA160ga5\bin
[drive: imagemapper]
cd [drive: imagemapper]\imagemapper
java -Duser.home=[drive: imagemapper]\imagemapper -jar jimagemapper-0.4.1.jar 2>imagemapper-bugs.txt
I use 2 separate folders (directories), one for Java and one for JImageMapper with the files created by this program. The references used in the cmd file;

  • [drive: java] = drive with Java
  • [drive: imagemapper] = drive with JImageMapper

should be replaced with real drive letters. Edit and save the file "jimagemapper.cmd" from the distribution. This file is copied to the "imagemapper" folder (directory). Furthermore, different paths?, adjust according to your needs. Create a new program object. Specify the path and file name: "[drive: imagemapper]\imagemapper\jimagemapper.cmd". In the tabpage Session check the boxes "OS/2 window", "Running as an icon" and "Close Window to end program". In the tabpage General you can enter the name "JImageMapper". You find enclosed in the file a suitable OS/2 icon.

Parameters / options explained
  • The specification "-Duser.home=[drive: imagemapper]\imagemapper" ensures that JImageMapper will save all necessary files in own directory instead of saving them in the home directory.
  • The addition "2>imagemapper-bugs.txt" ensures that errors are saved in the file "imagemapper-bugs.txt". The 2 in "2>" is not a typo!

Download
In the file you can find the above command file (all driveletters are set to C:) and an OS/2 JImageMapper icon: ecs-imagemapper.zip.

revision November 27, 2016