PHP Classes
elePHPant
Icontem

phpSVG: Create and edit vectorial graphics in SVG files

Recommend this page to a friend!

  Author Author  
Picture of Eduardo "Trial Force" Bonfandini
Name: Eduardo "Trial Force" ... <contact>
Classes: 2 packages by
Country: Brazil Brazil
Innovation award
Innovation award
Nominee: 1x

Winner: 1x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This package can create and edit vectorial graphics stored in SVG files.

It can open and parse an SVG XML file or create a new SVG document file with vectorial graphic elements of different types.

Currently this package supports elements of type: image, drawing paths, rectangles, lines, circles, ellipses, arbitrary shapes, images, text strings, gradients and styles.

The manipulated SVG documents can be exported back to SVG (compressed format or plain XML) or as an image in PNG, JPEG or GIF formats.

  Classes of Eduardo "Trial Force" Bonfandini  >  phpSVG  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: phpSVG
Base name: php-svg
Description: Create and edit vectorial graphics in SVG files
Version: 0.7
PHP version: 5.2
License: GNU Lesser General Public License (LGPL)
 
  Groups   Applications   Related pages   Files Files  

  Groups  
Group folder image XML XML parsing and generation View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Graphics Colors, images, charts and picture formats View top rated classes


  Innovation Award  
PHP Programming Innovation award winner
August 2011
Winner


Prize: One downloadable e-book of choice by O'Reilly
SVG is a standard XML format for storing the definitions of two dimension vectorial graphics.

This class can be used to edit vectorial graphics by reading its definition from an SVG into objects that can be changed and then write it back to the SVG file.

Manuel Lemos

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.


  Related pages  
Author's blog
Author's blog
Source on google
Source on google

  Files folder image Files  
File Role Description
Files folder imageexample (13 files, 1 directory)
Files folder imagesvglib (20 files)
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file viewExample.php Example View example

  Files folder image Files  /  example  
File Role Description
Files folder imageresource (7 files)
  Accessible without login Plain text file adding_elements.svg.php Example Show how to add elements to SVG.
  Accessible without login Plain text file bitmapImage.svg.php Example Show how to add a bitmap imagem
  Accessible without login Plain text file findElements.php Example Show how to find elements.
  Accessible without login Plain text file gradient.svg.php Example Gradient Example
  Accessible without login Plain text file graph.php Example Example script
  Accessible without login Plain text file inkscape_test.php Example Inkscape example
  Accessible without login Plain text file javascript.svg.php Example Example script
  Accessible without login Plain text file merge.svg.php Example Example script
  Accessible without login Plain text file replace.svg.php Example Example script
  Accessible without login Plain text file simple.svg.php Example Example script
  Accessible without login Plain text file transformation_request.svg.php Example Tranformation trough resquest/get
  Accessible without login Plain text file upload_and_convert.php Example Show how to upload and convert a Files to PNG/JPPEG.
  Accessible without login Plain text file vectorize.php Example Example script

  Files folder image Files  /  example  /  resource  
File Role Description
  Accessible without login Plain text file apple.svg Data SVG example, used in other examples.
  Accessible without login Image file axel.png Data Resource
  Accessible without login Plain text file function.php Aux. Aux functions
  Accessible without login Plain text file image.svg Data an SVG with image, used in examples.
  Accessible without login Image file phpsvg.png Icon Logo
  Accessible without login Plain text file phpSVG.svg Data Logo
  Accessible without login Image file stick.png Icon a bitmap file used in examples.

  Files folder image Files  /  svglib  
File Role Description
  Accessible without login Plain text file CHANGELOG Data changelog file
  Plain text file inkscape.php Class Use inkscape to convert svg to png
  Accessible without login Plain text file svgcircle.php Example Example script
  Plain text file svgclippath.php Class Class source
  Plain text file svgellipse.php Class Class source
  Plain text file svggroup.php Class Class source
  Plain text file svgimage.php Class Represents a imae implementation
  Plain text file svglib.php Class main lib (instanced file)
  Plain text file svgline.php Class Class source
  Plain text file svglineargradient.php Class Gradient
  Plain text file svgpath.php Class used to draw a path
  Plain text file svgradialgradient.php Class Class source
  Plain text file svgrect.php Class Represent a Rect.
  Plain text file svgshape.php Class Simple shape, other class extends it.
  Plain text file svgshapeex.php Class Used to do a complex shape, it is a internal class.
  Plain text file svgstop.php Class Stop class ( a part of gradient)
  Plain text file svgstyle.php Class Define styles.
  Plain text file svgtext.php Class To create some text
  Accessible without login Plain text file VERSION Data vesion file
  Plain text file xmlelement.php Class Represent one element,

Install with Composer Install with Composer - Download Download all files: php-svg.tar.gz php-svg.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.