Doc #71390 [Asn->Csd]: Further distortion constants

From: Date: Mon, 15 Apr 2019 17:09:05 +0000
Subject: Doc #71390 [Asn->Csd]: Further distortion constants
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16575@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71390&edit=1 ID: 71390 Updated by: danack@php.net Reported by: lee dot traynor at skeptic dot de Summary: Further distortion constants -Status: Assigned +Status: Closed Type: Documentation Problem Package: imagick Operating System: Windows XP/7/8/10 PHP Version: 7.0.2 Assigned To: danack Block user comment: N Private report: N New Comment: These are fixed in the next release of Imagick 3.4.6 which is imminent. Previous Comments: ------------------------------------------------------------------------ [2016-01-20 17:27:28] lee dot traynor at skeptic dot de While we are at it: all these constants can be added to the documentation. imagick::DISTORTION_BILINEARFORWARD (integer) This constant is available if Imagick has been compiled against ImageMagick version 6.5.4 or higher. imagick::DISTORTION_BILINEARREVERSE (integer) This constant is available if Imagick has been compiled against ImageMagick version 6.5.4 or higher. imagick::DISTORTION_RESIZE (integer) This constant is available if Imagick has been compiled against ImageMagick version 6.7.0 or higher. imagick::DISTORTION_CYLINDER2PLANE (integer) This constant is available if Imagick has been compiled against ImageMagick version 6.7.1 or higher. imagick::DISTORTION_PLANE2CYLINDER (integer) This constant is available if Imagick has been compiled against ImageMagick version 6.7.1 or higher. I wouldn't know how to add them but as far as I can see this information should be on the page "Predefined constants". Can you put them up for me? ------------------------------------------------------------------------ [2016-01-16 23:40:55] danack@php.net They are there: https://github.com/mkoppanen/imagick/blob/master/imagick_helpers.c#L1609-L1610 Do you fancy adding them to the documentation yourself? ------------------------------------------------------------------------ [2016-01-16 15:46:21] lee dot traynor at skeptic dot de Description: ------------ --- From manual page: http://www.php.net/imagick.distortimage --- Since about 200i9 ImageMagick's + distort can also take the constants Cylinder2Plane and Plane2Cylinder, but these are lacking in the documentation for imagick. Cyclinder2Plane takes up to 6 parameters: fov_angle center_x,y fov_output dest_center_x,y of which only the first is necessary; the default values of the center values are width/2, height/2 and that of fov_output is 0. Plane2Cylinder takes three: fov_angle center_x,y again only the first is necessary. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71390&edit=1

« previous php.doc.bugs (#16575) next »