Tagged articles
GD library
19 articles · Page 1 of 1
Learn how to use PHP's GD library (and optionally ImageMagick) to efficiently resize, proportionally scale, crop, and compress images—including avatar handling—by following detailed code examples, best practices for memory management, error handling, and performance optimization to improve web application speed and user experience.
GD libraryImage CroppingPHP
0 likes · 14 min read

This tutorial walks you through installing PHP‑GD and Video4Linux, creating a web page that previews the webcam using getUserMedia, adding a filter selector, and processing the image on the server with PHP‑GD to apply real‑time visual effects.
GD libraryJavaScriptReal-time Filters
0 likes · 9 min read

This tutorial explains how to set up a PHP environment, use OpenCV and the GD library to capture webcam video frames, apply real-time image filters such as grayscale, blur, contrast, and edge detection, and switch effects via keyboard input, enabling personalized photo creation.
GD libraryOpenCVWebcam
0 likes · 4 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 filters such as grayscale, Gaussian blur, contrast adjustments, edge detection, and switch effects via keyboard input, providing complete code examples.
GD libraryOpenCVPHP
0 likes · 5 min read

This article demonstrates 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, Gaussian blur, contrast adjustments, edge detection, and implement keyboard-controlled effect switching, providing complete code examples.
GD libraryOpenCVPHP
0 likes · 5 min read

This tutorial explains how to install required components, create a web page that previews the camera using getUserMedia, and apply real‑time filter effects with PHP‑GD by sending captured frames to the server for processing.
CameraGD libraryPHP
0 likes · 9 min read

This tutorial explains how to set up a PHP environment, capture live video from a webcam using OpenCV, and apply various real‑time image effects with the GD library, including grayscale, Gaussian blur, contrast adjustments, edge detection, and keyboard‑controlled effect switching.
GD libraryOpenCVVideo Capture
0 likes · 5 min read

This tutorial explains how to set up a PHP environment, capture live video from a webcam with OpenCV, and apply various real‑time image effects such as grayscale, Gaussian blur, contrast adjustments, and edge detection, including keyboard‑controlled effect switching.
GD libraryOpenCVWebcam
0 likes · 5 min read

This article demonstrates 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, Gaussian blur, contrast adjustments, and implement keyboard-controlled effect switching, providing complete code examples.
GD libraryOpenCVWebcam
0 likes · 4 min read

This tutorial explains how to set up a PHP environment, capture live video from a webcam using OpenCV, and apply various real-time image effects with the GD library, including keyboard-controlled switching of filters.
GD libraryOpenCVWebcam
0 likes · 5 min read

This tutorial explains how to install the necessary PHP‑GD and Video4Linux components, create a web page that shows a live webcam preview with JavaScript, add a filter selector, and process the selected filter on the server side using PHP‑GD to produce real‑time filtered images.
GD libraryJavaScriptWebcam
0 likes · 8 min read

This tutorial explains how to install required components, create a web page that previews the webcam using getUserMedia, send captured frames to a PHP backend, and apply real‑time filter effects with the PHP‑GD library.
GD libraryJavaScriptPHP
0 likes · 9 min read

This article explains PHP's image generation functions, showing how to create dynamic images, draw shapes and text, output them, and perform common processing tasks such as cropping, merging, and adding watermarks using backend development techniques.
GD librarybackend-developmentdynamic-image
0 likes · 5 min read

This article explains how to use PHP's GD library to verify its installation, define source and target dimensions, create a new image, crop the original using imagecopyresampled, save the result, and release resources, providing a complete step‑by‑step guide for image cropping in backend development.
GD libraryImage CroppingPHP
0 likes · 4 min read

This article explains how to use PHP's GD extension and the JpGraph library to create, manipulate, and output images—including canvases, colors, text, CAPTCHA generation, watermarking, and statistical charts—while providing complete code examples and configuration steps.
CAPTCHAGD libraryJpGraph
0 likes · 19 min read

The article explains PHP's imagegif() function, detailing its parameters, return values, and providing a complete example that creates a true‑color image, adds text, sets the appropriate header, outputs the GIF directly to the browser, and cleans up the resource.
BackendGD libraryGIF
0 likes · 2 min read

The article explains PHP's imagecreatefromwebp function, detailing its signature, parameters, return values, and provides a complete example that loads a WebP file, converts it to JPEG, and releases the image resource properly.
BackendGD libraryWebP
0 likes · 1 min read

The article explains PHP’s GD library function imageantialias, detailing its purpose, parameters, return values, limitations such as lack of alpha support, and provides a complete example that creates two images, toggles antialiasing, draws lines, merges them, and outputs a PNG.
AntialiasingGD libraryimage processing
0 likes · 3 min read

This tutorial explains how to use PHP's GD library to create a canvas, draw basic shapes such as ellipses, lines, rectangles, arcs, and filled arcs, output images in common formats, add text with TrueType fonts, generate captchas, and properly release memory, providing complete example code.
Backend DevelopmentGD libraryGraphics
0 likes · 12 min read
