On Sun, 2007-07-22 at 10:54 +0200, Frederik Holljen wrote: > On Thursday 05 July 2007 13:24, Kore Nordmann wrote: > > On Thu, 2007-07-05 at 13:09 +0200, Jan Borsodi wrote: > > > On Thursday 05 July 2007 10:19:13 Kore Nordmann wrote: > > > > Hi, > > > > > > > > [...] > > > > 2) We could convert the cpp code to c and make a pecl extension out of > > > > it. This would be far easier to install, on not a really big issue. > > > > > > Why do you need to convert it to C, I thought it was possible to plug in > > > C++ code into PHP nowadays? > > > > We still need to rewrite / refactor the code to respect thread safety > > isseus etc., and writing / maintaining C extensions is easier. > > Converting the simple math code to C is not a big deal either. > > Excuse my ignorance, but what is the reason for going through all of this > hassle? What exactly will we use pdiff for?
We want to be able to compare image results in unit tests. This simply does not work with the current approach. We get a lot of failures, just because the comparision fails, where the image is perceptually the same. The binary images change with each revision of GD and sometimes it even seems to depend on the platform you use. -- Mit freundlichen Grüßen / Med vennlig hilsen Kore Nordmann (GPG: 0xDDC70BBB) eZ Components Developer eZ systems Headquaters tel +49 (0) 231-9742-7750 | fax +49 (0) 231-9742-7751 [EMAIL PROTECTED] | eZ systems | ez.no
signature.asc
Description: This is a digitally signed message part
-- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components