PHP | imagewebp() Function
The imagewebp() function is an inbuilt function in PHP which is used to display image to browser or file. The main use of this function is to view an image in the browser, convert any other image type to WebP and alter the quality of the image.Syntax:...
read more
PHP | imagettftext() Function
The imagettftext() function is an inbuilt function in PHP which is used to write text to the image using TrueType fonts....
read more
PHP | imagecreatefrompng() Function
The imagecreatefrompng() function is an inbuilt function in PHP which is used to create a new image from PNG file or URL. This image can be further worked upon in the program. This function is usually used when you want to edit your PNG images....
read more
PHP | imagecreatefromstring() Function
The imagecreatefromstring() function is an inbuilt function in PHP which is used to create a new image from string file or URL. This image can be further worked upon in the program. This function is usually used when you want to edit your images after loading them from a string....
read more
PHP | imageresolution() Function
The imageresolution() function is an inbuilt function in PHP which is used to set and return the resolution of an image in DPI (dots per inch). If none of the optional parameters is given, the current resolution is returned as an indexed array. If one of the optional parameters is given it will set both width and height to that parameter. The resolution is only used as meta information when images are read from and written to formats supporting this kind of information (currently PNG and JPEG). It does not affect how the image looks. The default resolution for new images is 96 DPI.Syntax:...
read more
PHP | exif_read_data() Function
The exif_read_data() function is an inbuilt function in PHP which is used to read the EXIF headers from an image file....
read more
PHP | imagettfbbox() Function
The imagettfbbox() function is an inbuilt function in PHP that is used to calculate the bounding box in pixels for a TrueType text.Syntax:...
read more
PHP | imagefilter() Function
The imagefilter() function is an inbuilt function in PHP which is used to apply an given filter on the image....
read more
PHP | imageloadfont() Function
The imageloadfont() function is an inbuilt function in PHP which is used to load a new font. GDF fonts are supported which can be downloaded from here....
read more
PHP | imagesetpixel() Function
The imagesetpixel() function is an inbuilt function in PHP which is used to draw a pixel at the specified coordinate....
read more
PHP | imagefontwidth() Function
The imagefontwidth() function is an inbuilt function in PHP which is used to get the pixel width of a character in the specified font....
read more
PHP | imagesavealpha() Function
The imagesavealpha() function is an inbuilt function in PHP which is used to set whether to retain full alpha channel information when saving PNG images or not. Alpha channel tells whether the image is fully transparent or opaque. Alpha blending has to be disabled using imagealphablending($im, false)) to retain the alpha-channel in the first place....
read more