GD és az "image" függvények
(az eredeti oldal)
Információk, adatok lekérése
- gd_info — Információk lekérése a jelenleg telepített GD-könyvtárról (2.3.0)
- imagetypes — Visszadja a PHP build által támogatott képtípusokat
- imagesx — A kép szélességét adja
- imagesy — A kép magasságát adja
- getimagesize — A kép méreteit adja
- imagefontwidth — Megadja a font szélességét
- imagefontheight — Megadja a font magasságát
- imageresolution — Megállapítja vagy beállítja a kép felbontását
- imagecolorallocate — Színt rendel a képhez
- imagesetthickness — Beállítja a vonalvastagságot
- imagesetstyle — Beállítja a vonalrajzolás stílusát
- imagecolortransparent — Meghatározza mely szín legyen átlátszó
Kép létrehozása, megszüntetése; beállítások
- imagecreate — Létrehoz egy új paletta alapú képet
- imagecreatetruecolor — Kreál egy új truecolor képet
- imagecreatefromgif — Létrehoz egy új GIF képet fájlból vagy URL-ből
- imagecreatefromjpeg — Létrehoz egy új JPG képet fájlból vagy URL-ből
- imagecreatefrompng — Létrehoz egy új PNG képet fájlból vagy URL-ből
- imagecreatefrombmp — Létrehoz egy új BMP képet fájlból vagy URL-ből
- imagepng — Egy PNG fájlt állít elő vagy küld ki a böngészőnek
- imagejpeg — Egy JPG fájlt állít elő vagy küld ki a böngészőnek
- imagegif — Egy GIF fájlt állít elő vagy küld ki a böngészőnek
- imagebmp — Egy BMP fájlt állít elő vagy küld ki a böngészőnek
- imagedestroy — Megsemmisíti a képet (a tárhely felszabadul)
Rajzolás a képre
- imagesetpixel — Rajzol egy pixelt
- imageline — Egy szakaszt rajzol
- imagedashedline — Egy szakaszt rajzol szaggatott vonallal
- imagerectangle — Téglalapot rajzol
- imagefilledrectangle — Egy kitöltött téglalapot rajzol
- imageellipse — Ellipszist rajzol
- imagefilledellipse — Egy kitöltött ellipszist rajzol
- imagepolygon — Sokszöget rajzol
- imagefilledpolygon — Egy kitöltött sokszöget rajzol
- imageopenpolygon — Egy nyitott poligont rajzol
- imagearc — Egy ellipszisívet rajzol
- imagefilledarc — Rajzol egy részívet és kitölti
- imagefill — A megadott koordinátától kezdve kiszínezi a képet megadott színnel
- imagefilltoborder — A megadott szegélyszínig kiönti/elárasztja a képet megadott színnel
Írás (egy karakter vagy szöveg) a képre
- imagechar — Kirajzol egy karaktert (vízszintesen)
- imagecharup — Kirajzol egy karaktert (függőlegesen)
- imagestring — Kirajzolja a szöveget a képre (vízszintesen)
- imagestringup — Kirajzolja a szöveget a képre (függőlegesen)
- imagettftext — Szöveget ír a képre TrueType fontok használatával
- imagefttext — Szöveget ír a képre FreeType fontok használatával
Képmanipulációk (átméretezés, kivágás, elforgatás, tükrözés, kép kiterjesztése)
- imagescale — Kép átméretezése megadott szélességgel és magassággal
- imagecopyresized — A képet vagy egy részét átmásolja és átméretezi
- imagecopyresampled — Kép egy részének másolása és átméretezése újramintavételezéssel
- imagecopy — Átmásolja a képet vagy egy részét
- imagecopymerge — Másolja és egyesíti a kép egy részét az átlátszatlanság megadásával
- imagecrop — Kivág a képből egy megadott téglalapnyit
- imagerotate — Kép elforgatása adott szöggel
- imageflip — A kép tükrözése a megadott módon
- imagefilter — Alkalmazza a megfelelő szűrőt egy képre
- imagecreatefromwebp — Egy új képet hoz létre a webp fájlból vagy URL-ből
- imagecreatefromstring — Egy új képet hoz létre a karakterlánc képfolyamából
Eddig még nem használt függvények
- getimagesizefromstring — Get the size of an image from a string
- 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 — Output image to browser or file
- 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
- imageavif — Output image to browser or file
- imagecolorallocatealpha — Allocate a color for an image
- imagecolorat — Get the index of the color of a pixel
- imagecolorclosest — Get the index of the closest color to the specified color
- 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 — De-allocate a color for an image
- imagecolorexact — Get the index of the specified color
- 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 — Get the index of the specified color or its closest possible alternative
- imagecolorresolvealpha — Get the index of the specified color + alpha or its closest possible alternative
- imagecolorset — Set the color for the specified palette index
- imagecolorsforindex — Get the colors for an index
- imagecolorstotal — Find out the number of colors in an image's palette
- imageconvolution — Apply a 3x3 convolution matrix, using coefficient and offset
- imagecopymergegray — Copy and merge part of an image with gray scale
- imagecropauto — Crop an image automatically using one of the available modes
- imageftbbox — Give the bounding box of a text using fonts via freetype2
- imagegammacorrect — Apply a gamma correction to a GD image
- imagegd2 — Output GD2 image to browser or file
- imagegd — Output GD image to browser or file
- imagegetclip — Get the clipping rectangle
- imagegetinterpolation — Get the interpolation method
- imagegrabscreen — Captures the whole screen
- imagegrabwindow — Captures a window
- imageinterlace — Enable or disable interlace
- imageistruecolor — Finds whether an image is a truecolor image
- imagelayereffect — Set the alpha blending flag to use layering effects
- imageloadfont — Load a new font
- imagepalettecopy — Copy the palette from one image to another
- imagepalettetotruecolor — Converts a palette based image to true color
- imagesavealpha — Whether to retain full alpha channel information when saving images
- imagesetbrush — Set the brush image for line drawing
- imagesetclip — Set the clipping rectangle
- imagesetinterpolation — Set the interpolation method
- imagesettile — Set the tile image for filling
- imagetruecolortopalette — Convert a true color image to a palette image
- imagettfbbox — Give the bounding box of a text using TrueType fonts
- imagewbmp — Output image to browser or file
- 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 — Convert JPEG image file to WBMP image file
- png2wbmp — Convert PNG image file to WBMP image file