What is JGraphite?
JGraphite is a simple and easy to use application that converts photos into black and white images with just a few clicks. A nice looking black and white photo is not only effect of image desaturation. The key to success is a correct image tone modification. JGraphite allows user to select one of predefined image tone curves or to create one manually. Also the final effect can be significantly improved by application of vignetting effect. In JGraphite the amount of vignetting may be easily adjusted by just one mouse click.

Features
  • At low processor speeds simultaneous processing can be turned off
  • Conversion types: none, grayscale, sepia, cyan, only red, green or blue, only experimental red, green or blue
  • Adjustable vignetting of 0 to 100%
  • Brightness: automatically or manually with values between -50 and +50.
  • Conversion curves (tone curve): No change, portrait, default contrast, strong contrast, high key, high key 2, low key, custom curve
  • Preview on full screen (with the ESC key you can go back to the program)
  • Selectable JPEG compression: 0.85, 0.90 and 0.97

System requirements
  • Minimum JRE version is 1.6
  • Preferably 1024 x 768 resolution. Minimum resolution is 800 by 600.
  • Minimum 512Mb RAM internal memory.


JGraphite on an eComStation machine with Open JDK


Installing JGraphite
Download JGraphite.jar. Create a folder (directory) "JGraphite". Copy the jar file to the new folder "JGraphite". Create a new program object or copy it from the file below. Specify the path and file name: "[drive: JGraphite]\JGraphite\JGraphite.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 "JGraphite".

The used cmd file
JGraphite works very well with Open JDK in OS/2-eCS. Especially for OS/2-eCS the author has modified the package due to a bug in Java, that does not happen very often. I have a JGraphite.cmd file with the following contents;
@echo off
set BEGINLIBPATH=[drive: java]\JAVA160\bin
set path=[drive: java]\JAVA160\bin
set CLASSPATH=
[drive: JGraphite]
cd [drive: JGraphite]\JGraphite
java -jar JGraphite.jar 2>JGraphite_bugs.txt
I use 2 separate folders (directories), one for Java and one for JGraphite with the files created by this program. The references used in the cmd file;

  • [drive: java] = drive with Java
  • [drive: JGraphite] = drive with JGraphite

should be replaced by real drive letters. Save the file and rename it to JGraphite.cmd or use/adjust JGraphite.cmd from the distribution. This file is copied to the JGraphite directory. Furthermore, different paths?, adjust according to your needs. The addition "2>JGraphite_bugs.txt" ensures that errors are saved in the file "JGraphite_bugs.txt". The 2 in "2>" is not a typo!

Download
In the file you can find the above command file (all drive letters are on set to C:) and an OS/2 JGraphite icon: JGraphite-eCS.zip.

revision December 29, 2012