Open mcodina86 opened 5 years ago
That would really be nice.
@mcodina86 Did you find a solution, yet?
Hi @realityfilter. I updated GS in this fork and I'm using it without errors yet.
This is especially important because ghostscript <9.24 has a remote code execution vulerability: https://www.kb.cert.org/vuls/id/332928/
@mcodina86 i can't use gs in my node project... can you help me please?? https://github.com/sina-masnadi/lambda-ghostscript/issues/3
@sina-masnadi @mcodina86 can update this for 9.50 version? i have many pdf`s working only in this version (9.50)
@sina-masnadi @mcodina86 @samirlegdah @mickdekkers Did you guys found latest version for the same work ? With the provided version i can't use postscript commands as it always returns undefined.
@sina-masnadi @mcodina86 @realityfilter @mickdekkers hi guys, A little question
Why there is no support for postscript commands or am i missing something ? Whenever i try to use this it always returns undefined. This the code i am using
gs() .safer() .batch() .nopause() .option('-dTextAlphaBits=4') .option('-dGraphicsAlphaBits=4') .option('-dDEVICEWIDTHPOINTS=238') .option('-dDEVICEHEIGHTPOINTS=149.5') .option('-dFIXEDMEDIA') .res(600) .option('-dDownScaleFactor=2') .executablePath('gs') .device('jpeg') .output(somepath) .option('-c "<</PageOffset[-308.5 40]>> setpagedevice"') .option('-f') .option('-sPDFPassword=somepass') .input(somepath) ...
By using above return undefined and the pdf is not cropped to image as it was commanded. Or simply the -c is ignored.
How can i use -c .... -f
commands ?
And can you guys update library to 9.52 if possible ?
Hi! I'm having some issues with ghostscript 9.20 that have been corrected on 9.25 version. Do you have in mind updating this version? Or where can I find some documentation for doing the upgrade by my own?
Thanks!