![](https://secure.gravatar.com/avatar/f90333bfcbc0a7fa19cedbe5283235a3.jpg?s=120&d=mm&r=g)
Hello Bryce,
Yeah, I had a look at the code, and you're probably right. Thanks for the advice!
Tobias
Friday, March 30, 2007, 11:19:47 PM, you wrote:
BH> On Fri, Mar 30, 2007 at 09:21:28PM +0200, Tobias Damisch wrote:
BH> I've experimented around with a number of different approaches for doing BH> this, each with their pluses and minuses.
Thanks! I'll have a look at them. However, my major goal, finding or implementig a solution that works under PHP+GD without using other software is still unsolved.
I'm just wondering if porting parts of the Inkscape code to php is somehow realistic, and thought i'd ask before actually trying it.
BH> I wouldn't think it a realistic solution, since the Inkscape code for BH> parsing and interpreting SVG, and then rendering it into a bitmap is BH> quite sophisticated. I don't know how many lines of code are involved, BH> but think it's well beyond what one person could easily handle.
BH> I don't know what requirements are limiting you to PHP+GD for this, but BH> it may be worthwhile to push back to get an allowance to add cairo (or BH> Inkscape itself), and then look for some php code that interfaces to BH> that. Even if no cairo-php exists, it'd be easier to code to than BH> porting Inkscape's internals to php by a few orders of magnitude.
BH> Bryce