Closed cccsssbbb closed 8 years ago
Hi,
Ghost4J uses the Ghostscript native API. So if GS 9.x is your default install, Ghost4J will use it.
Regards
if that is the case, do you have a function inside your api, to return the version of ghostscript in use?
Good question, it would be a nice feature to always print out the version of the currently loaded native api.
This feature already exists, you can get GS runtime info like this:
public void testGetRevision() {
GhostscriptRevision revision = Ghostscript.getRevision();
assertNotNull(revision.getProduct());
assertNotNull(revision.getCopyright());
assertNotNull(revision.getRevisionDate());
assertNotNull(revision.getNumber());
}
Regards
What do you think about logging this information on every initialization?
It is a good practice to always print the gs version when in doubt
Hi zippy1978,
cccsssbbb