Questions tagged [ghost4j]

Ghost4J is a Java wrapper for the Ghostscript API.

Main features of Ghost4J:

  • Full Ghostscript API supported.
  • Object oriented API.
  • High level API providing a set of components (converters, analyzers, renderers) to handle Postscript and PDF documents.
  • Multi-process support.
42 questions
0
votes
2 answers

Cannot Initialize Ghostscript Interpreter

I'm trying to use the Ghost4j wrapper to convert .ps files to .pdf on macOS 10.12.6 (Sierra) I have used the sample program found here: http://www.ghost4j.org/highlevelapisamples.html I have included the all the ghost4j jars and add the ghostscript…
Akshay Chopra
  • 161
  • 1
  • 2
  • 9
0
votes
1 answer

Java & Ghostscript (ghost4j and gsdll32.dll)

I have a project in which I use: ghost4j (0.3.3) and gsdll32.dll. But new Operation System (Win 10) are 64 and Swing Application (Java 1.6) return error Unable to load library 'gsdll32'. I downloaded file gsdll64 and if I changed the name to gsdll32…
Piotr B
  • 1
  • 3
0
votes
1 answer

log4j not working on tomcat8 server with log4j.properties file

I am trying to convert some PDFs files into PNGs using Ghost4j. This library needs log4j for working, so I added to my libraries also log4j. Since my application is a Dynamic Web Project, I added the libraries into the folder WEB-INF/lib. When I…
Francesco Sgaramella
  • 1,009
  • 5
  • 21
  • 39
0
votes
1 answer

Ghostscript to concatenate multiple eps files into one big eps file

My task is to combine multiple small EPS files into one big EPS, with a condition that those small EPSs should not overlap each other. I was hoping that this could be done programmatically, rather than manually adjusting them using GUI tools. I've…
0
votes
1 answer

Small rendered images from PDF slides

I'm using Ghost4J library (http://ghost4j.sourceforge.net) to split a PDF file of slides into several images. The problem I have is that I get images where the slides are in the corner and very small. I want my images to get the format of the page…
Ignacio
  • 386
  • 4
  • 19
0
votes
1 answer

difference between ghostscript and ghost4j

i want to repring pdf files in Java application. I found that ghostscript has Java library - ghost4j. Do you have any experience with it - is ghost4j is as good as ghostscript ? Thanks
Ilkar
  • 2,113
  • 9
  • 45
  • 71
0
votes
1 answer

ghost4j invoking ghotscript dll - java.lang.UnsatisfiedLinkError: Unable to load library 'gsdll32

I am unable to invoke ghostscript dll. It only works if I copy dll to windows/system folder. Can I specify my custom path that ghost4j should use for the dll.? I am using the sample core api sample from ghost4j site
0
votes
1 answer

Getting NoClassDefFoundError by using Ghost4j

this is my first Questing here and i didn't found any solutions to my Problem. Please don't take it amiss, if my text is broken English. For my program I want to resize images inside an existing PDF-Document. This should happens automatically within…
Wudmaan
  • 3
  • 4
0
votes
1 answer

How to convert multipage PDF to multipage TIFF

I am using Ghost4j to convert multipage PDFs to multipage TIFF images. I haven't found an example of how this is done. Using below code I'm able to convert the multipage PDF to images but how do I create a single multipage TIFF image out of it? …
birdy
  • 9,286
  • 24
  • 107
  • 171
0
votes
1 answer

java.lang.IllegalStateException executing Ghost4J (Linux 32 vs 64 bits)

I am using Ghost4J 0.5.1 in my spring project. In local everything works fine (32 bits) but when I deploy to EC2 (64 bits), java.lang.IllegalStateException raises. final Ghostscript ghostScript =…
Antonio Acevedo
  • 1,480
  • 3
  • 21
  • 39
0
votes
1 answer

Adding a dylib to the search path on OSX

I have a project in which I need to convert PDF file into png using ghost4j. The issue I am facing is that when I run my java code the console throws me this error: Unable to load library 'gs': dlopen(libgs.dylib, 9): image not found I googled…
Corporal
  • 157
  • 3
  • 14
0
votes
2 answers

How can i use ghost4j on OS X 10.9

When i want to use ghost4j on OS X 10.9, i see this error: Unable to load library 'gs': dlopen(libgs.dylib, 9): image not found I have installed ghostscript library on my macbook using this site. how can i fix this problem. I can not install…
Saeed Zarinfam
  • 9,818
  • 7
  • 59
  • 72
1 2
3