PHP Classes

PHP SVG to PNG: Render a SVG graphic as a PNG image

Recommend this page to a friend!

  Author Author  
Picture of Uku-Kaarel Jo~esaar
Name: Uku-Kaarel Jo~esaar <contact>
Classes: 8 packages by
Country: Estonia Estonia
Age: 39
All time rank: 3871 in Estonia Estonia
Week rank: 114 Up2 in Estonia Estonia Down
Innovation award
Innovation award
Nominee: 5x

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can be used to render a SVG graphic as a PNG image using Inkscape program.

It takes a SVG file and calls the Inkscape program to convert it to an image file in the PNG format.

  Classes of Uku-Kaarel Jo~esaar  >  PHP SVG to PNG  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP SVG to PNG
Base name: svg2png
Description: Render a SVG graphic as a PNG image
Version: 1.0
PHP version: 4.2
License: Artistic License
All time users: 2325 users
All time rank: 1674
Week users: 3 users
Week rank: 491 Up
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image Graphics Colors, images, charts and picture formats View top rated classes


What is the best PHP SVG to PNG conversion class?
Parse SVG files and modifying nodes appropriately to convert

  Innovation Award  
PHP Programming Innovation award nominee
May 2009
Number 7

Prize: One book of choice by Packt
SVG is standard format for representing vectorial graphics.

SVG graphics can be rendered in Web browsers but not all of them provide SVG support.

This class provides an alternative solution to render SVG graphics in any browser by converting it into an image in PNG format.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Insufficient (25%) Not sure (41%) - Sufficient (66%) - - Insufficient (23%) 3391
Month: Not yet rated by the users

  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.

  Files folder image Files  
File Role Description
Plain text file class.svg2png.php Class class file
Accessible without login Plain text file function.imagecreatefromsvg.php Aux. imagecreatefrom... function
Plain text file gion_desktop.svg Data for testing
Plain text file test.php Example test

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