|
Table des matières
LXIV. Image magick FunctionsIntroductionImage magick extension lets you create and manipulate images. Its function is similar to Image extension but provides more powerful and faster functions. Pré-requisTo use this extension, either “ImageMagick” or “GraphicsMagick” library is required. InstallationWindows binaries may be found at http://snaps.php.net/. To install, download php_imagick.dll to the folder specified by your php.ini file’s “extension_dir” directive. Enable it by adding “extension=php_imagick.dll” to your php.ini and restarting your webserver.
Linux, BSD, and other *nix variants can be compiled using the following steps:
Or:
“pecl config-set php_ini /path/to/php.ini”
Des informations sur l’installation de ces extensions PECL peuvent être trouvées dans le chapitre du manuel intitulé Installation des extensions PECL. D’autres informations comme les notes sur les nouvelles versions, les téléchargements, les sources des fichiers, les informations concernant les mainteneurs ainsi qu’un CHANGELOG, peuvent être trouvées ici : http://pecl.php.net/package/imagick. Types de ressourcesThis extension uses the “imagemagick handle” resource. Constantes pré-définiesCes constantes sont définies par cette extension, et ne sont disponibles que si cette extension a été compilée avec PHP, ou bien chargée au moment de l’exécution. “IMAGICK_FILTER_UNDEFINED” (integer) “IMAGICK_FILTER_POINT” (integer) “IMAGICK_FILTER_BOX” (integer) “IMAGICK_FILTER_TRIANGLE” (integer) “IMAGICK_FILTER_HERMITE” (integer) “IMAGICK_FILTER_HANNING” (integer) “IMAGICK_FILTER_HAMMING” (integer) “IMAGICK_FILTER_BLACKMAN” (integer) “IMAGICK_FILTER_GAUSSIAN” (integer) “IMAGICK_FILTER_QUADRATIC” (integer) “IMAGICK_FILTER_CUBIC” (integer) “IMAGICK_FILTER_CATROM” (integer) “IMAGICK_FILTER_MITCHELL” (integer) “IMAGICK_FILTER_LANCZOS” (integer) “IMAGICK_FILTER_BESSEL” (integer) “IMAGICK_FILTER_SINC” (integer) “IMAGICK_FILTER_UNKNOWN” (integer) “IMAGICK_FONTSTYLE_NORMAL” (integer) “IMAGICK_FONTSTYLE_ITALIC” (integer) “IMAGICK_FONTSTYLE_OBLIQUE” (integer) “IMAGICK_FONTSTYLE_ANY” (integer) “IMAGICK_RAISE” (integer) “IMAGICK_LOWER” (integer) “IMAGICK_COMPOSITE_OP_UNDEFINED” (integer) “IMAGICK_COMPOSITE_OP_OVER” (integer) “IMAGICK_COMPOSITE_OP_IN” (integer) “IMAGICK_COMPOSITE_OP_OUT” (integer) “IMAGICK_COMPOSITE_OP_ATOP” (integer) “IMAGICK_COMPOSITE_OP_XOR” (integer) “IMAGICK_COMPOSITE_OP_PLUS” (integer) “IMAGICK_COMPOSITE_OP_MINUS” (integer) “IMAGICK_COMPOSITE_OP_ADD” (integer) “IMAGICK_COMPOSITE_OP_SUBTRACT” (integer) “IMAGICK_COMPOSITE_OP_DIFFERENCE” (integer) “IMAGICK_COMPOSITE_OP_MULTIPLY” (integer) “IMAGICK_COMPOSITE_OP_BUMPMAP” (integer) “IMAGICK_COMPOSITE_OP_COPY” (integer) “IMAGICK_COMPOSITE_OP_COPYRED” (integer) “IMAGICK_COMPOSITE_OP_COPYGREEN” (integer) “IMAGICK_COMPOSITE_OP_COPYBLUE” (integer) “IMAGICK_COMPOSITE_OP_COPYOPACITY” (integer) “IMAGICK_COMPOSITE_OP_CLEAR” (integer) “IMAGICK_COMPOSITE_OP_DISSOLVE” (integer) “IMAGICK_COMPOSITE_OP_DISPLACE” (integer) “IMAGICK_COMPOSITE_OP_MODULATE” (integer) “IMAGICK_COMPOSITE_OP_THRESHOLD” (integer) “IMAGICK_COMPOSITE_OP_NONE” (integer) “IMAGICK_COMPOSITE_OP_DARKEN” (integer) “IMAGICK_COMPOSITE_OP_LIGHTEN” (integer) “IMAGICK_COMPOSITE_OP_HUE” (integer) “IMAGICK_COMPOSITE_OP_SATURATE” (integer) “IMAGICK_COMPOSITE_OP_COLORIZE” (integer) “IMAGICK_COMPOSITE_OP_LUMINIZE” (integer) “IMAGICK_COMPOSITE_OP_SCREEN” (integer) “IMAGICK_COMPOSITE_OP_OVERLAY” (integer) “IMAGICK_PROFILE_OWN” (integer) “IMAGICK_PROFILE_COPY” (integer) “IMAGICK_TYPE_UNDEFINED” (integer) “IMAGICK_TYPE_BILEVEL” (integer) “IMAGICK_TYPE_GRAYSCALE” (integer) “IMAGICK_TYPE_GRAYSCALEMATTE” (integer) “IMAGICK_TYPE_PALETTE” (integer) “IMAGICK_TYPE_PALETTEMATTE” (integer) “IMAGICK_TYPE_TRUECOLOR” (integer) “IMAGICK_TYPE_TRUECOLORMATTE” (integer) “IMAGICK_TYPE_COLORSEPARATION” (integer) “IMAGICK_TYPE_COLORSEPARATIONMATTE” (integer) “IMAGICK_TYPE_OPTIMIZE” (integer) “IMAGICK_COLORSPACE_UNDEFINED” (integer) “IMAGICK_COLORSPACE_RGB” (integer) “IMAGICK_COLORSPACE_GRAY” (integer) “IMAGICK_COLORSPACE_TRANSPARENT” (integer) “IMAGICK_COLORSPACE_OHTA” (integer) “IMAGICK_COLORSPACE_XYZ” (integer) “IMAGICK_COLORSPACE_YCBCR” (integer) “IMAGICK_COLORSPACE_YCC” (integer) “IMAGICK_COLORSPACE_YIQ” (integer) “IMAGICK_COLORSPACE_YPBPR” (integer) “IMAGICK_COLORSPACE_YUV” (integer) “IMAGICK_COLORSPACE_CMYK” (integer) “IMAGICK_COLORSPACE_SRGB” (integer) “IMAGICK_COMPRESSION_UNDEFINED” (integer) “IMAGICK_COMPRESSION_NONE” (integer) “IMAGICK_COMPRESSION_BZIP” (integer) “IMAGICK_COMPRESSION_FAX” (integer) “IMAGICK_COMPRESSION_GROUP4” (integer) “IMAGICK_COMPRESSION_JPEG” (integer) “IMAGICK_COMPRESSION_LOSSLESSJPEG” (integer) “IMAGICK_COMPRESSION_LZW” (integer) “IMAGICK_COMPRESSION_RLE” (integer) “IMAGICK_COMPRESSION_ZIP” (integer) Table des matières
imagick_begindraw – Begin drawimagick_blob2image – Read image from BLOBimagick_blur – Blur imageimagick_border – Surrounds the image with a borderimagick_charcoal – Highlight edgesimagick_chop – Remove a region of an image and collapse the image to occupy the removed portionimagick_clonehandle – Clone imageimagick_composite – Composite the second image onto the first at the specified offsetsimagick_contrast – Enhance the intensity differences between the lighter and darker elements of the imageimagick_convert – Convert imageimagick_crop – Extract a region of the imageimagick_despeckle – Reduce the speckle noiseimagick_destroyhandle – Free image from memoryimagick_drawannotation – Write textimagick_drawarc – Draw arcimagick_drawcircle – Draw circleimagick_drawellipse – Draw ellipseimagick_drawline – Draw lineimagick_drawpoint – Draw pointimagick_drawrectangle – Draw rectangleimagick_edge – Find edgesimagick_emboss – Return a grayscale image with a three-dimensional effectimagick_enhance – Apply a digital filter that improves the quality of a noisy imageimagick_equalize – Apply a histogram equalization to the imageimagick_error – Check whether there is an errorimagick_faileddescription – Get description of failureimagick_failedreason – Get reason of failureimagick_first – Set the internal pointer of an image list to its first elementimagick_flatten – Merge a sequence of imagesimagick_flip – Create a vertical mirror image by reflecting the pixels around the central x-axisimagick_flop – Create a horizontal mirror image by reflecting the pixels around the central y-axisimagick_frame – Add a simulated three-dimensional border around the imageimagick_free – Alias of imagick_destroyhandle() Travail collaboratifContribuez, en ajjoutant des elements a cette page de manuel : Merci de votre aide |