Java Batik

I usually use JavaLoader too when working with java libraries as it’s more flexible, but you should be able to use CreateObject() directly with the complete batik distro in a folder within your code base as Zac suggests. Just add the path to the distro folder as the third argument:

Batik = CreateObject( "java", "org.apache.batik.transcoder.image.PNGTranscoder", "batik/" ).init();

This assumes a file structure of:

- root/
 - batik/
 - script.cfm