Tagged articles
GD
15 articles · Page 1 of 1
This tutorial explains how to use PHP with OpenCV and the GD library to capture webcam video, save each frame as a JPEG, and apply various real‑time image filters such as grayscale, Gaussian blur, contrast adjustments, and edge detection, including keyboard‑controlled filter switching.
FiltersGDOpenCV
0 likes · 5 min read

This tutorial explains how to set up a PHP environment, use OpenCV and GD libraries to capture live webcam frames, apply various image‑processing effects such as grayscale, blur, contrast adjustments, and implement keyboard‑controlled effect switching, all with complete code examples.
GDOpenCVWebcam
0 likes · 5 min read

This tutorial explains how to set up a PHP environment, use OpenCV and GD libraries to capture webcam video, apply various real‑time image effects such as grayscale, blur, contrast, and edge detection, and add keyboard controls for switching filters, enabling creative photo processing.
GDOpenCVWebcam
0 likes · 5 min read

This article explains how to speed up PHP image processing by using the GD library for resizing, implementing file‑based caching to avoid redundant work, and leveraging Swoole‑based parallel processing to handle multiple images concurrently, complete with practical code examples.
GDPHPParallel Processing
0 likes · 6 min read

This article explains the difference between image rotation and flipping, introduces PHP's GD imagerotate() function, and provides complete PHP code examples for rotating JPEG images as well as flipping them horizontally or vertically using custom functions.
GDImage FlippingImage Rotation
0 likes · 5 min read

This guide explains the PHP GD function imagefilledellipse, detailing its parameters, return values, and a complete example that creates a blank image, fills the background, draws a white filled ellipse, and outputs the result as a PNG.
GDGraphicsPHP
0 likes · 2 min read

This article explains PHP's imagefill() function, detailing its purpose for region filling in images, describing each parameter (image resource, x and y coordinates, and color), the return values, and provides a complete example script demonstrating its usage.
BackendGDPHP
0 likes · 2 min read

The article explains PHP's imagecreatetruecolor function, detailing its purpose of creating a true‑color image resource, required parameters width and height, version compatibility notes, return values, and provides a complete example script that generates a PNG with custom text.
BackendGDPHP
0 likes · 2 min read

The article explains the PHP function imagecreatefromgd, detailing its syntax, parameter, return values, and provides a complete example that loads a GD image, checks for success, processes it, saves the result, and cleans up the resource.
BackendGDPHP
0 likes · 2 min read

This article explains the PHP imagecopy function, showing its signature, parameters, and how it copies a rectangular region from a source image to a destination image at specified coordinates, providing a concise reference for developers working with image manipulation in backend applications.
BackendGDPHP
0 likes · 1 min read

The PHP GD library function imagecolorresolvealpha returns the index of a specified color with an alpha value for a given image resource, delivering either the exact index or the nearest possible alternative while detailing its parameters, return values, and usage example.
BackendGDPHP
0 likes · 2 min read

The article explains PHP's imagecolorat function, which returns the RGB integer of a pixel in a true‑color image using the GD library, and shows how to extract red, green, and blue components with bitwise operations through a complete code example.
BackendGDPHP
0 likes · 2 min read

This article explains how the PHP GD function imagecolorallocatealpha() assigns colors with transparency to an image, describes its parameters and return values, and provides a complete example that creates a PNG with overlapping circles using custom alpha values.
BackendGDPHP
0 likes · 3 min read

The article explains the PHP imagechar function, detailing its parameters, return values, and usage, and provides a complete example that creates an image, allocates colors, draws a character, sets the header, and outputs the PNG image.
BackendGDPHP
0 likes · 2 min read

The PHP imagearc() function draws an elliptical arc on a GD image resource using specified center coordinates, width, height, start and end angles, and color, returning the transformed image on success or FALSE on failure, with a full example demonstrating its usage.
BackendGDGraphics
0 likes · 2 min read
