ResetImagePage in wagickwand for PHP [incl possible solution

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
tsr

ResetImagePage in wagickwand for PHP [incl possible solution

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: ResetImagePage in wagickwand for PHP [incl possible solution

Post by magick »

Doh! Copy/paste error. Fixed in MagickWand for PHP 1.0.3 available later today. Thanks.
Post Reply