Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
User Journal

Journal gbulmash's Journal: Follow-Ups on My Ask Slashdots

So, earlier in the Summer I got two "Ask Slashdot" submissions accepted.

The first was regarding PHP and Perl in one script. I asked because I wanted to use ImageMagick and because it would be processing user-generated text, there was no way I wanted to generate commandline code. Because the developer of MagickWand for PHP abandoned the project around the start of the year and it was still basically an alpha release, I wanted to use PerlMagick, but I wanted to program all the hard stuff (a lot of XML and math) in PHP, which I already knew.

Long story short... I'm using PHP to write the Perl scripts. The small amount of Perl that's needed is sort of "fill-in-the-blank", so I have PHP doing that, putting it all in a string, then PHP writes it to disk and then executes the perl script.

As for a good multi-format SVG converter. As long as you don't want to convert to a vector format, ImageMagick does a good job with that, rendering SVGs to a wide range of raster formats. Of course, I actually wanted to convert to both vector and raster formats, so I'm basically using 2-3 different programs, batch converting a collection of SVGs with each, then comparing the outputs and picking the best.

That is all.

The flow chart is a most thoroughly oversold piece of program documentation. -- Frederick Brooks, "The Mythical Man Month"

Working...