Imagick::extentImage

(PECL imagick 2, PECL imagick 3)

Imagick::extentImageSet image size

Beschreibung

public Imagick::extentImage(
    int $width,
    int $height,
    int $x,
    int $y
): bool

Comfortability method for setting image size. The method sets the image size and allows setting x,y coordinates where the new area begins. Diese Funktion ist verfügbar, wenn Imagick gegen die ImageMagick-Version 6.3.1 oder höher kompiliert wurde.

Achtung

Prior to ImageMagick 6.5.7-8 (1623), $x was positive when shifting to the left and negative when shifting to the right, and $y was positive when shifting an image up and negative when shifting an image down. Somewhere betwen ImageMagick 6.3.7 (1591) and ImageMagick 6.5.7-8 (1623), the axes of $x and $y were flipped, so that $x was negative when shifting to the left and positive when shifting to the right, and $y was negative when shifting an image up and positive when shifting an image down. Somewhere between ImageMagick 6.5.7-8 (1623) and ImageMagick 6.6.9-7 (1641), the axes of $x and $y were flipped back to pre-ImageMagick 6.5.7-8 (1623) functionality.

Parameter-Liste

width

The new width

height

The new height

x

X position for the new size

y

Y position for the new size

Rückgabewerte

Liefert true bei Erfolg.

Siehe auch

Hier Kannst Du einen Kommentar verfassen


Bitte gib mindestens 10 Zeichen ein.
Wird geladen... Bitte warte.
* Pflichtangabe
Es sind noch keine Kommentare vorhanden.

Was genau bedeutet "Vibe Coding"? Ein tiefgehender Blick für Entwickler

In der Welt der Softwareentwicklung gibt es unzählige Wege, wie man an ein Projekt herangeht. Manche schwören auf strikte Planung, andere auf bewährte Algorithmen und wieder andere lassen sich von etwas ganz anderem leiten: ihrem Gefühl. ...

admin

Autor : admin
Kategorie: Software & Web-Development

PHP cURL-Tutorial: Verwendung von cURL zum Durchführen von HTTP-Anfragen

cURL ist eine leistungsstarke PHP-Erweiterung, die es Ihnen ermöglicht, mit verschiedenen Servern über verschiedene Protokolle wie HTTP, HTTPS, FTP und mehr zu kommunizieren. ...

TheMax

Autor : TheMax
Kategorie: PHP-Tutorials

Midjourney Tutorial - Anleitung für Anfänger

Über Midjourney, dem Tool zur Erstellung digitaler Bilder mithilfe von künstlicher Intelligenz, gibt es ein informatives Video mit dem Titel "Midjourney Tutorial auf Deutsch - Anleitung für Anfänger" ...

Mike94

Autor : Mike94
Kategorie: KI Tutorials

Tutorial veröffentlichen

Tutorial veröffentlichen

Teile Dein Wissen mit anderen Entwicklern weltweit

Du bist Profi in deinem Bereich und möchtest dein Wissen teilen, dann melde dich jetzt an und teile es mit unserer PHP-Community

mehr erfahren

Tutorial veröffentlichen

Warum sieht man mein Logo nicht?

Verwendest du Output Buffering oder spezielle PHP-Header, die das Laden lokaler Assets verhindern könnten? New philosophy of life helps us to g ...

Geschrieben von nigaxa2771 am 07.10.2025 04:12:43
Forum: PHP Developer Forum
Softwareentwicklung mit KI

Interessante Frage! Ich experimentiere auch mit KI-gestützter Code-Erstellung. Hat jemand Erfahrungen mit KI beim Erstellen von Spielmechaniken? ...

Geschrieben von roisappas am 06.10.2025 06:59:33
Forum: PHP Developer Forum
mein PHP-Neustart und eine kleine Baustelle

Hallo Matthias, ich habe damals auf Empfehlung mit OOP und TE angefangen. OOP - objektorientierten Programmierung (verbesserte Code-Organisatio ...

Geschrieben von MichaelKre am 05.10.2025 18:02:34
Forum: User stellen sich vor
db Abfrage mit mehreren ids im WHERE

soso. Konnte ambiguous nicht so richtig verstehen. Jetzt bin ich schlauer. Danke.

Geschrieben von alfonso am 05.10.2025 16:31:52
Forum: PHP Developer Forum