- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Urmila Samariya has Published 141 Articles
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
224 Views
imagefontheight() is an inbuilt function in PHP that is used to get the pixel height of a character in the specified font.Syntaxint imagefontheight(int $font)Parametersimagefontheight() takes one parameter, $font. It holds the font value. The $font values can be 1, 2, 3, 4, and 5 for the built-in fonts or it ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
660 Views
imagefilter() is an inbuilt function in PHP that is used to apply a given filter to an image.Syntaxbool imagefilter(resource $image, int $filtertype, int $arg1, int $arg2, int $arg3, int $arg4)Parametersimagefilter() takes six different parameters − $image, int $filtertype, int $arg1, int $arg2, int $arg3, int $arg4.$image − It holds the ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
268 Views
imagefilltoborder() is an inbuilt function in PHP that is used to perform flood fill with a specific color, whose border color is defined by the border. The starting point for the fill is (x, y) or top left is (0, 0) and the region is filled with the color.Syntaxbool imagefilltoborder(resource ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
288 Views
imagefilledpolygon() is an inbuilt PHP function that is used to draw a filled polygon.Syntaxbool imagefilledpolygon($image, $points, $num_points, $color)Parametersimagefilledpolygon() takes four different parameters − $image, $points, $num_points, and $color.$image − Creates a blank image in a given size using the imagecreatetruecolor() function.$points − Holds the sequential vertices of the polygon.$num_points − ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
238 Views
imagefilledarc() is an inbuilt function in PHP that is used to draw a partial arc and fill it.Syntaxbool imagefilledarc($image, $cx, $cy, $width, $height, $start, $end, $color, $style)Parametersimagefilledarc() takes nine parameters: $image, $cx, $cy, $width, $height, $start, $end, $color, and $style.$image − It is returned by the image creation function imagecreatetruecolor(). ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
575 Views
imageellipse() is an inbuilt function in PHP that is used to draw an ellipse. It returns True on success and False on failure.SyntaxBool imageellipse($image, $cx, $cy, $width, $height, $color)Parametersimageellipse() takes six different paramters: $image, $cx, $cy, $width, $height, $color.$image − Creates the size of the image. It is returned by ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
896 Views
imagecreatetruecolor( ) is an inbuilt function in PHP that is used to create a new true-color image. It returns a blank image of the given size.Syntaxresource imagecreatetruecolor($width, $height)Parametersimagecreatetruecolor() takes two paramters, $width and $height.$width − The $width parameter is used to set the image width.$height − The $height parameter is ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
2K+ Views
imagecrop() is an inbuilt function in PHP that is used to crop an image to the given rectangle. It crops the image from the given rectangle area and returns the output image.The given image is not modified.Syntaxresource imagecrop ($image, $rect)Parametersimagecrop() takes two parameters, $image and $rect.$image − It is the ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
945 Views
imagecropauto() is an inbuilt function in PHP that is used to crop an image automatically using one of the available modes.Syntaxresource imagecropauto(resource $image, int $mode, float $threshold, int $color)Parametersimagecropauto() takes four different parameters − $image, $mode, $threshold and $color.$image − Specifies the image resource to be cropped.$mode − It is ... Read More
![Urmila Samariya](https://www.tutorialspoint.com/assets/profiles/317041/profile/60_178965-1617360206.jpg)
Urmila Samariya
459 Views
imagedestroy() is an inbuilt PHP function that is used to destroy an image and free any memory associated with the image.Syntaxbool imagedestroy(resource $image)Parametersimagedestroy() takes only one parameter, $image. It holds the name of an image.Return Valuesimagedestroy() returns true on success and failure on false.Example 1 − Destroying an image after ... Read More