ghost4j
ghost4j copied to clipboard
JPEG files compress failed
I'm trying compress some files..
In the .pdf and .jpeg formats , I have them in a list, the .pdf files compress normaly just that when ghost script try compress .jpeg format it fail.
Erro : Can't instanciate GhostScript instance. Error -100
Here are my configurations:
-gs
-sDEVICE=jpeg
-dJPEGQ=80
-dQFactor=0.5
-dPDFSETTINGS=/screen
-dNOPAUSE
-dQUIET
-dBATCH
-sOutputFile=my_file.jpeg