ghostscript4js | Ghostscript4JS binds the Ghostscript C API | Document Editor library
kandi X-RAY | ghostscript4js Summary
kandi X-RAY | ghostscript4js Summary
Ghostscript is a suite of software based on an interpreter for Adobe Systems' PostScript and Portable Document Format (PDF) page description languages. Its main purposes are the rasterization or rendering of such page description language files, for the display or printing of document pages, and the conversion between PostScript and PDF files. Ghostscript can be used as a raster image processor (RIP) for raster computer printers—for instance, as an input filter of line printer daemon—or as the RIP engine behind PostScript and PDF viewers. Ghostscript can also be used as a file format converter, such as PostScript to PDF converter. The ps2pdf conversion program, which comes with the ghostscript distribution, is described by its documentation as a "work-alike for nearly all the functionality (but not the user interface) of Adobe's Acrobat Distiller product".[3] This converter is basically a thin wrapper around ghostscript's pdfwrite output device, which supports PDF/A-1 and PDF/A-2 as well as PDF/X-3 output.[3]. Ghostscript can also serve as the back-end for PDF to raster image (png, tiff, jpeg, etc.) converter; this is often combined with a PostScript printer driver in "virtual printer" PDF creators. As it takes the form of a language interpreter, Ghostscript can also be used as a general purpose programming environment. Ghostscript has been ported to many operating systems, including Unix-like systems, classic Mac OS, OpenVMS, Microsoft Windows, Plan 9, MS-DOS, FreeDOS, OS/2, Atari TOS and AmigaOS.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ghostscript4js
ghostscript4js Key Features
ghostscript4js Examples and Code Snippets
Community Discussions
Trending Discussions on ghostscript4js
QUESTION
I'm trying to install this package to my firebase functions: https://www.npmjs.com/package/ghostscript-js
So I run:
...ANSWER
Answered 2020-Apr-04 at 09:26The problem apparently was that it's required to install the underlying ghostscript to the node environment - ghostscript4js is just a wrapper.
I gave up on ghostscript4js and started to use ghostscript directly after installing it.
Also here is the link on how I installed it in my case (I'm using firebase node) if that might help anybody too:
Different node environments might require different steps to install it.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ghostscript4js
Download Ghostscript
If you want to use ghostscript4js you have to install it. There are two methods for that:.
The module ghostscript4js allows you to use some installation options that you can use when in your operating system something is different against standard installation. --GS4JS_HOME Set the GS4JS_HOME variable that represents the path in your system where is located the ghostscript library. Es. npm install ghostscript4js --GS4JS_HOME="C:/gs/bin". --GS4JS_LIB Set the GS4JS_LIB variable that represents the file name for the ghostscript library installed in your system. Es. npm install ghostscript4js --GS4JS_LIB="libgs.so".
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page