Imagick::statisticimage

creationdev

Documentation

Formation référencement web
Formation référencement web

100$ CAD

Conception web standard
Conception web standard

2500$ CAD

Référencement web optimisé
Référencement web optimisé

500$ CAD

Conception web extra
Conception web extra

5000$ CAD

Référencement web expert
Référencement web expert

750$ CAD

Référencement web organique
Référencement web organique

300$ CAD

Conception d'application web
Conception d'application web

100$ CAD

Conception web microsite
Conception web microsite

1000$ CAD

Référencement web stratégique
Référencement web stratégique

1000$ CAD

Conception web ecommerce
Conception web ecommerce

2500$ CAD

Méthode

Méthode

Imagick::statisticimage

Imagick::statisticimage

Page Vue 26 déc. 2018
Page Vue 13 fois

(PECL imagick 3 >= 3.3.0)

Imagick::statisticImage — Modifies image using a statistics function

Description

public Imagick::statisticImage(
    int $type,
    int $width,
    int $height,
    int $channel = Imagick::CHANNEL_DEFAULT
): bool

Replace each pixel with corresponding statistic from the neighborhood of the specified width and height.

Liste de paramètres

type

width

height

channel

Valeurs de retour

Retourne true en cas de succès.

Exemples

Exemple #1 imagick::statisticimage()

<?php
function statisticImage($imagePath, $statisticType, $width, $height, $channel) {
$imagick = new \Imagick(realpath($imagePath));

$imagick->statisticImage(
$statisticType,
$width,
$height,
$channel
);

header("Content-Type: image/jpg");
echo $imagick->getImageBlob();
}

statisticImage($imagePath, \Imagick::STATISTIC_MEDIAN, 5, 5, \Imagick::CHANNEL_DEFAULT);

?>


Source : http://www.php.net/
Ref : methode-imagick::statisticimage.php




Contact

Contact

Veuillez saisir les infos dans le formulaire d'identification
suivant pour concevoir et référencer votre site.









Veuillez saisir votre message.

Carte d'affaires

Affichage de la carte d'affaires recto/verso.

Carte d'affaires recto
Carte d'affaires verso

Partagez

Partagez

Discussion ayant comme sujet la page Imagick::statisticimage.

©2025 creationdev -  F.A.Q. -  Soutien -  Haut de page
THÈMES: