Doc #69903 [Com]: function forwardFourierTransformimage returns error
Edit report at https://bugs.php.net/bug.php?id=69903&edit=1
ID: 69903
Comment by: danack@php.net
Reported by: lee dot traynor at skeptic dot de
Summary: function forwardFourierTransformimage returns error
Status: Assigned
Type: Documentation Problem
Package: imagick
Operating System: Windows XP
PHP Version: 5.5.26
Assigned To: danack
Block user comment: N
Private report: N
New Comment:
Thank you for the feedback. Here is an example of it working: http://phpimagick.com/Imagick/forwardFourierTransformImage
I've double-checked and the method Imagick::forwardfouriertransformimage is definitely not
compiled into the Imagick class, if the functions provided by FFTW are not available through
ImageMagick.
It is a case that the method is not available, rather than being available and just not working if
the FFTW stuff isn't available.
Previous Comments:
------------------------------------------------------------------------
[2015-06-23 16:29:12] lee dot traynor at skeptic dot de
The error is: Call to undefined method
so it won't even work with imagemagick compiled with fftw support. Please check that this is
indeed the case before adding misleading comments to the documentation.
------------------------------------------------------------------------
[2015-06-23 16:20:47] danack@php.net
The function is only available if ImageMagick was compiled on a system with the FFTW library. http://www.fftw.org/
I need to add this to the documentation.
------------------------------------------------------------------------
[2015-06-22 17:54:40] lee dot traynor at skeptic dot de
Description:
------------
---
From manual page: http://www.php.net/imagick.forwardfouriertransformimage
---
Calling this function results in:
PHP Fatal error: Call to undefined method Imagick::forwardFourierTransformimage()
Test script:
---------------
$im = new Imagick ("compass_model.png");
$im->forwardFourierTransformimage (true);
$im->writeImages ("fourier_test.png", false);
Expected result:
----------------
Saving of magnitude/phase diagrams as "fourier_test-00.png",
"fourier_test-01.png"
Actual result:
--------------
Fatal error
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69903&edit=1
Thread (5 messages)