- 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 145 Articles
Urmila Samariya
125 Views
imagesetstyle() is an inbuilt function in PHP that is used to set the style for line drawing. It can be used by all line drawing functions like imagepolygon or imageline.Syntaxbool imagesetstyle(resource $image, array $style)Parametersimagesetstyle() takes two parameters: $image and $style.$image − Specifies the image resource to work on.$style − Specifies ... Read More
Urmila Samariya
771 Views
imagerotate() is an inbuilt function in PHP that is used to rotate an image with a given angle in degrees.Syntaxresource imagerotate($image, $angle, $bgd_color, $ignore_transparent = 0)Parametersimagerotate() accepts four parameters, $image, $angle, $bgd_color, and $ignore_transparent.$image − The $image parameter returned by the imagecreatetruecolor() function. It is used to create the size ... Read More
Urmila Samariya
892 Views
imageresoulution() is an inbuilt function in PHP that is used to get or set the resolution of an image in dots per inch. If no optional parameters are given, then the current resolution is returned as an indexed array. If one of the optional parameters is given, then it will ... Read More
Urmila Samariya
71 Views
imagepalettecopy() is an inbuilt PHP function that is used to copy the palette from one image to another. This function copies the palette from the source image to the destination image.Syntaxvoid imagepalettecopy(resource $destination, resource $source)Parametersimagepalettecopy() accepts two parameters − $source and $destination.$destination − Specifies the destination image resource.$source − Specifies ... Read More
Urmila Samariya
305 Views
imageopenpolygon() is an inbuilt function in PHP that is used to draw an open polygon on a given image.Syntaxbool imageopenpolygon(resource $image, array $points, int $num_points, int $color)Parametersimageopenpolygon() takes four different parameters: $image, $points, $num_points and$color. $image − Specifies the image resource to work on.$image − Specifies the image resource to ... Read More
Urmila Samariya
2K+ Views
imageline() is an inbuilt function in PHP that is used to draw a line between two given points.Syntaxbool imageline(resource $image, int $x1, int $y1, int $x2, int $y2, int $color)Parametersimageline() takes six different parameters: $image, $x1, $y1, $x2, $y2 and $color.$image − Specifies the image resource to work on.$x1 − ... Read More
Urmila Samariya
82 Views
imagelayereffect() is an inbuilt function in PHP that is used to set the alpha blending flag to use layering effects. It returns True on success or False on failure.Syntaxbool imagelayereffect($image, $effect)Parametersimagelayereffect() takes two different parameters: $image and $effect.$image − This parameter is returned by the image creation function imagecreatetruecolor(). It ... Read More
Urmila Samariya
149 Views
imageistruecolor() is an inbuilt function in PHP that is used to check if a given image is a true-color image or not. In a true-color image, each pixel is specified by the RGB (Red, Green, and Blue) color values.Syntaxbool imageistruecolor(resource $image)Parametersimageistruecolor() takes a single parameter, $image. It holds the image.Return ... Read More
Urmila Samariya
57 Views
imagegetclip() is an inbuilt PHP function that is used to get the clipping rectangle. It is used to retrieve the current clipping rectangle, the area beyond which no pixels will be drawn.Syntaxarray imagegetclip(resource $image)Parametersimagegetclip() takes only one parameter, $image. It holds the image resource returned by one of the image ... Read More
Urmila Samariya
463 Views
imagefontwidth() is an inbuilt function in PHP that is used to get the pixel width of a character in the specified font.Syntaxint imagefontwidth(int $font)Parametersimagefontwidth() takes only 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 ... Read More
To Continue Learning Please Login
Login with Google