Download
Download Latest
Version Support Policy
Documentation
Documentation Home
Tutorial
Project
Governance
Branding
License
GitHub Repository
Community
Contribute to PHP
Online Communities
Events | Conferences
Mailing Lists
PHP 8.5
All Releases
Search docs
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Exceptions
Generators
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Filesystem Security
Database Security
Error Reporting
Using Register Globals
User Submitted Data
Magic Quotes
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Safe Mode
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Credit Card Processing
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
GD- und Image-Funktionen
PHP Manual
PHP Manual
»
GD
»
GD- und Image-Funktionen
GD- und Image-Funktionen
Inhaltsverzeichnis
gd_info
— Liefert Informationen über die aktuell verwendete GD-Bibliothek
getimagesize
— Liefert die Größe einer Grafik
getimagesizefromstring
— Liefert die Größe einer Grafik aus einer Zeichenkette
image_type_to_extension
— Get file extension for image type
image_type_to_mime_type
— Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype
image2wbmp
— Gibt das Bild im Browser oder einer Datei aus.
imageaffine
— Return an image containing the affine transformed src image, using an optional clipping area
imageaffinematrixconcat
— Concatenate two affine transformation matrices
imageaffinematrixget
— Get an affine transformation matrix
imagealphablending
— Set the blending mode for an image
imageantialias
— Should antialias functions be used or not
imagearc
— Zeichnet einen Bogen
imageavif
— Gibt das Bild im Browser oder einer Datei aus.
imagebmp
— Output a BMP image to browser or file
imagechar
— Zeichnet ein horizontal ausgerichtetes Zeichen
imagecharup
— Zeichnet ein vertikal ausgerichtetes Zeichen
imagecolorallocate
— Alloziert eine Farbe für eine Grafik
imagecolorallocatealpha
— Allocate a color for an image
imagecolorat
— Liefert den Farbwert eines Bildpunktes
imagecolorclosest
— Ermittelt den Index der Farbe, die der angegebenen Farbe am nächsten kommt
imagecolorclosestalpha
— Get the index of the closest color to the specified color + alpha
imagecolorclosesthwb
— Get the index of the color which has the hue, white and blackness
imagecolordeallocate
— Löscht eine Farbdefinition
imagecolorexact
— Ermittelt den Index-Wert der angegebenen Farbe
imagecolorexactalpha
— Get the index of the specified color + alpha
imagecolormatch
— Makes the colors of the palette version of an image more closely match the true color version
imagecolorresolve
— Ermittelt den Index-Wert der angegebenen Farbe oder die nächstmögliche Alternative dazu
imagecolorresolvealpha
— Get the index of the specified color + alpha or its closest possible alternative
imagecolorset
— Setzt die Farbe für den angegebenen Paletten-Index
imagecolorsforindex
— Ermittelt die Farbwerte eines Palettenindex
imagecolorstotal
— Ermittelt die Anzahl der Farben in der Palette eines Bildes
imagecolortransparent
— Definiert eine Farbe als transparent
imageconvolution
— Apply a 3x3 convolution matrix, using coefficient and offset
imagecopy
— Kopiert einen Bildausschnitt
imagecopymerge
— Copy and merge part of an image
imagecopymergegray
— Copy and merge part of an image with gray scale
imagecopyresampled
— Copy and resize part of an image with resampling
imagecopyresized
— Kopieren und Ändern der Größe eines Bild-Teiles
imagecreate
— Erzeugt ein neues Palettenbild
imagecreatefromavif
— Erzeugt ein neues Bild aus einer Datei oder URL
imagecreatefrombmp
— Erzeugt ein neues Bild aus einer Datei oder URL
imagecreatefromgd
— Create a new image from GD file or URL
imagecreatefromgd2
— Create a new image from GD2 file or URL
imagecreatefromgd2part
— Create a new image from a given part of GD2 file or URL
imagecreatefromgif
— Erzeugt ein neues Bild aus einer Datei oder URL
imagecreatefromjpeg
— Erzeugt ein neues Bild aus einer Datei oder URL
imagecreatefrompng
— Erzeugt ein neues Bild aus einer Datei oder URL
imagecreatefromstring
— Create a new image from the image stream in the string
imagecreatefromtga
— Erzeugt ein neues Bild aus einer Datei oder URL
imagecreatefromwbmp
— Erzeugt ein neues Bild aus einer Datei oder URL
imagecreatefromwebp
— Erzeugt ein neues Bild aus einer Datei oder URL
imagecreatefromxbm
— Erzeugt ein neues Bild aus einer Datei oder URL
imagecreatefromxpm
— Erzeugt ein neues Bild aus einer Datei oder URL
imagecreatetruecolor
— Create a new true color image
imagecrop
— Crop an image to the given rectangle
imagecropauto
— Crop an image automatically using one of the available modes
imagedashedline
— Zeichnet eine gestrichelte Linie
imagedestroy
— Löscht ein Bild
imageellipse
— Draw an ellipse
imagefill
— Flutfüllung
imagefilledarc
— Draw a partial arc and fill it
imagefilledellipse
— Draw a filled ellipse
imagefilledpolygon
— Zeichnet ein gefülltes Polygon
imagefilledrectangle
— Zeichnet ein gefülltes Rechteck
imagefilltoborder
— Füllt einen Bereich mit einer bestimmten Farbe
imagefilter
— Applies a filter to an image
imageflip
— Flips an image using a given mode
imagefontheight
— Ermittelt die Höhe einer Schriftart
imagefontwidth
— Ermittelt die Breite einer Schriftart
imageftbbox
— Give the bounding box of a text using fonts via freetype2
imagefttext
— Write text to the image using fonts using FreeType 2
imagegammacorrect
— Wendet eine Gamma-Korrektur auf ein GD-Bild an
imagegd
— Output GD image to browser or file
imagegd2
— Output GD2 image to browser or file
imagegetclip
— Get the clipping rectangle
imagegetinterpolation
— Get the interpolation method
imagegif
— Gibt das Bild im Browser oder einer Datei aus.
imagegrabscreen
— Captures the whole screen
imagegrabwindow
— Captures a window
imageinterlace
— Aktiviert oder Deaktiviert Interlacing
imageistruecolor
— Finds whether an image is a truecolor image
imagejpeg
— Gibt das Bild im Browser oder einer Datei aus.
imagelayereffect
— Set the alpha blending flag to use layering effects
imageline
— Zeichnet eine Linie
imageloadfont
— Lädt eine neue Schriftart
imageopenpolygon
— Draws an open polygon
imagepalettecopy
— Copy the palette from one image to another
imagepalettetotruecolor
— Converts a palette based image to true color
imagepng
— Ausgabe eines Bildes im Browser oder als Datei im PNG-Format
imagepolygon
— Zeichnet ein Polygon
imagerectangle
— Zeichnet ein Rechteck
imageresolution
— Get or set the resolution of the image
imagerotate
— Rotate an image with a given angle
imagesavealpha
— Ob beim Speichern von Bildern vollständige Alphakanal-Information erhalten wird
imagescale
— Scale an image using the given new width and height
imagesetbrush
— Set the brush image for line drawing
imagesetclip
— Set the clipping rectangle
imagesetinterpolation
— Set the interpolation method
imagesetpixel
— Setzt ein einzelnes Pixel
imagesetstyle
— Set the style for line drawing
imagesetthickness
— Set the thickness for line drawing
imagesettile
— Set the tile image for filling
imagestring
— Zeichnet einen horizontalen String
imagestringup
— Zeichnet einen vertikalen String
imagesx
— Ermittelt die Breite eines Bildes
imagesy
— Ermittelt die Höhe eines Bildes
imagetruecolortopalette
— Convert a true color image to a palette image
imagettfbbox
— Ermittelt das umgebende Rechteck eines Textes, der eine TrueType-Schriftart verwendet
imagettftext
— Schreibt Text mit TrueType-Schriftarten ins Bild
imagetypes
— Liefert die von der verwendeten PHP-Version unterstützten Grafikformate
imagewbmp
— Gibt das Bild im Browser oder einer Datei aus.
imagewebp
— Output a WebP image to browser or file
imagexbm
— Output an XBM image to browser or file
iptcembed
— Embeds binary IPTC data into a JPEG image
iptcparse
— Parse a binary IPTC block into single tags
jpeg2wbmp
— Konvertiert eine JPEG-Bilddatei in eine WBMP-Bilddatei
png2wbmp
— Convert PNG image file to WBMP image file
↑
and
↓
to navigate •
Enter
to select •
Esc
to close •
/
to open
Press
Enter
without selection to search using Google