Imagick::smushimages

creationdev

Documentation

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

750$ CAD

Conception web extra
Conception web extra

5000$ CAD

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

100$ CAD

Conception d'application web
Conception d'application web

100$ CAD

Conception web ecommerce
Conception web ecommerce

2500$ CAD

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

300$ CAD

Conception web standard
Conception web standard

2500$ CAD

Conception web microsite
Conception web microsite

1000$ CAD

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

1000$ CAD

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

500$ CAD

Méthode

Méthode

Imagick::smushimages

Imagick::smushimages

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

(PECL imagick 3 >= 3.3.0)

Imagick::smushImages — Takes all images from the current image pointer to the end of the image list and smushs them

Description

public Imagick::smushImages(bool $stack, int $offset): Imagick

Takes all images from the current image pointer to the end of the image list and smushs them to each other top-to-bottom if the stack parameter is true, otherwise left-to-right.

Liste de paramètres

stack

offset

Valeurs de retour

The new smushed image.

Exemples

Exemple #1 imagick::smushimages()

<?php
function smushImages($imagePath, $imagePath2) {

$imagick = new \Imagick(realpath($imagePath));
$imagick2 = new \Imagick(realpath($imagePath2));

$imagick->addimage($imagick2);
$smushed = $imagick->smushImages(false, 50);
$smushed->setImageFormat('jpg');
header("Content-Type: image/jpg");
echo $smushed->getImageBlob();
}

?>


Source : http://www.php.net/
Ref : methode-imagick::smushimages.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::smushimages.

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