Git Product home page Git Product logo

gsapi's Introduction

GSAPI version 0.3 (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 <gwyn-at-cpan.org>
Copyright (C) 2003,2005 by Stefan Traby <[email protected]>
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.

gsapi's People

Contributors

oesiman avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.