Giter VIP home page Giter VIP logo

gd-svg's Introduction

GD/SVG version 0.24
===================

GD::SVG seamlessly enables the scalable vector graphics (SVG) output
from scripts written using GD.  It accomplishes this by translating GD
functions into SVG functions.

IMPORTANT NOTES

1. In addition to GD::SVG, Ronan Oger has created a similar module
(SVG::GD). In principle these modules perform a similar function but
go about it in slightly different ways.  Ronan and I are now
concurrently developing these modules which may be merged in the
future. In particular, Ronan's module ultimately aims to tap into the
raster editing abilities of GD.  GD::SVG focuses primarily on
generating SVG-output from scripts written with GD - focusing on
generating images de novo from stacks of data.

2. See the internal documentation on important notes on how to use
GD::SVG.

QUICKSTART USAGE GUIDE

To enable SVG output, you must change several elements of your
script. This includes the use statement and direct calls to the
classes that GD implements.

In short:
    
    # use GD;
    use GD::SVG;
  
    # my $image = GD::Image->new($width,$height);
    my $image = GD::SVG::Image->new($width,$height);
   
    ...

    print $image->svg();

See the full documentation for examples on enabling dynamic selection
of image output.

INSTALLATION

To install this module type the following:

   perl Makefile.PL
   make
   make test
   sudo make install

You may need to be root (or sudo) to executre the make install
command.

DEPENDENCIES

This module requires these other modules and libraries:

  GD, SVG

ACKNOWLEDGEMENTS

Lincoln Stein, creator of GD and my postdoctoral mentor, desires
special credit. Ronan Oger, creator of the SVG module and co-creator
of a similar GD-wrapper, has been very helpful with discussions about
interfacing GD to SVG.

Patches: srezic (color comparisons), jettero (fixed linecaps).

COPYRIGHT AND LICENCE

Copyright (C) 2003-2008 Todd Harris ([email protected]) and the Cold Spring
Harbor Laboratory

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself. 

gd-svg's People

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.