https://github.com/bwipp/gsapi
Copy of Perl extension for accessing GNU Ghostscript (with fixes)
https://github.com/bwipp/gsapi
Last synced: 5 months ago
JSON representation
Copy of Perl extension for accessing GNU Ghostscript (with fixes)
- Host: GitHub
- URL: https://github.com/bwipp/gsapi
- Owner: bwipp
- Created: 2020-06-01T00:26:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-01T12:35:56.000Z (about 6 years ago)
- Last Synced: 2025-09-09T20:51:08.007Z (9 months ago)
- Language: C++
- Homepage: https://metacpan.org/pod/GSAPI
- Size: 79.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
GSAPI version 0.6 (heavily untested)
=================
This module provides an interface to the gsapi
functions of GNU Gostscript.
You normally won't need this module, it's far easier
to pipe to gs under Unix.
You need libgs - which is normally available under most Linux Distributions
as ghostscript-devel or equivalent - and the ghostscript header files, see
INSTALL.
You normally want to use the tie-method, here an example:
my $output;
{ local *FH;
tie *FH, "GSAPI", stdout => sub { $output .= $_[0]; length $_[0]};
print FH "12345679 9 mul pstack quit\n";
}
ok($output =~ /111111111/);
INSTALLATION
To install this module type the following:
perl Makefile.PL CCFLAGS=-I/path-to/gnu_ghostscript-8.15/src
make
make test
make install
COPYRIGHT AND LICENCE
Copyright (C) 2008 by Philip Gwyn
Copyright (C) 2003,2005 by Stefan Traby
Copyright (C) 2003,2005 by KW-Computer Ges.m.b.H Graz, Austria.
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License 2.0 or any later version.
the reason why this module is not available under dual license (Artistic/GPL)
is simply the fact that GNU Gostscript is only available under GPL and not
under Artistic License.