Page 1 of 1

ResetImagePage in wagickwand for PHP [incl possible solution

Posted: 2007-03-27T11:42:08-07:00
by tsr
Ok, in magickwand for php in the file magickwand.c the following lines (concerning ResetImagePage) are faulty IMHAUO* opinion:

Code: Select all

7934: MW_BOOL_FUNC_RETVAL_BOOL( MagickSetImageFilename( mgck_wnd, (char *) NULL ) );
7937: MW_BOOL_FUNC_RETVAL_BOOL( MagickSetImageFilename( mgck_wnd, page ) );
Instead of calling "MagickSetImageFilename" they should call "MagickResetImagePage".

Unfortunately I'm not that confident in coding to try my luck with a deadline approaching in 14 hours, so I'm hoping for one of the devs to just confirm this before I recompile.

/tsr

* in my humble and untested opinion

Re: ResetImagePage in wagickwand for PHP [incl possible solution

Posted: 2007-03-27T12:24:16-07:00
by magick
Doh! Copy/paste error. Fixed in MagickWand for PHP 1.0.3 available later today. Thanks.