JAL-2852 added framework for saving as EPS file