Top "Gd" questions

GD Library is used to dynamically create and manipulate image files.

Using PHP GD to create image form text with different fonts

I have been using this simple script to generate images from text: <?php header('Content-type: image/png'); $color = RgbfromHex($_…

php image image-processing gd imagettftext
GD imagejpeg() compression?

I'm working on a project where I edit the pixels of a jpg in PHP using the GD library. Its …

php compression gd steganography
How to control text alignment for text generated using `imagettftext()`?

Using the imagettftext function from the PHP GD library, one can only draw text that is left-aligned onto an image. …

php gd imagettftext
imagecreatefrompng error - how to detect and handle?

In my script, I have the following lines: $test = @imagecreatefrompng($name); if ($test) { ... } I am certain that $name represents an …

php error-handling gd imagecreatefrompng
Rounded transparent _smooth_ corners using imagecopyresampled() PHP GD

I need a script which makes rounded transparent corners on supplied image. I've found one and it works good except …

php png transparency gd rounded-corners
What are the differences between a GD and a GD2 image?

Reading the documentation for imagegd2(), and imagegd(), I noticed the functions are described, respectively as: Output GD2 image to browser …

php gd gd2
Background image dark or light?

I'm doing a ODP->HTML conversion with PHP. I have problems with the following: Use the style:use-window-font-color property …

php gd opendocument
Open OTF fonts with php - greek characters included

So, as the title says, my task is to convert a given phrase to an image on server side (php …

php fonts gd imagettftext
Copy an image and preserve its EXIF/IPTC data with PHP imageCreateFromJpeg?

I having some problems with an image that has EXIF/IPTC data stored in it. When I use imageCreateFromJpeg (to …

php gd exif iptc
Capture image with imagegrabscreen and Wamp

I'm trying to capture a local web page with imagegrabscreen but I only get a black screenshot. I tried almost …

php apache gd screen-capture