Top "Gd" questions

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

Convert tiff to jpg in php?

I have a server which holds TIFF images. Most clients can read and display TIFF images, so there's no problem. …

php image gd
How do I fill white background while resize image

Current background is black. How to change the color to be white? #assuming the mime type is correct switch ($imgtype) { …

php gd image-resizing resize-image
How to create GD Image from base64 encoded jpeg?

I have an upload Api that as a response object delivers (along with other stuff inside a Json object) a …

php image gd base64 jpeg
Crop whitespace from image in PHP

Is it possible to remove the whitespace surrounding an image in PHP? NOTE: to clarify I mean something like photoshops …

php image gd crop
php imagecopyresized vs imagecopyresampled vs imagecopy pros/cons

These all seem to do the same thing. What are the pros/cons of each. imagecopyresized() vs imagecopyresampled() vs imagecopy(). …

php image copy gd
How do You Resize a High Resolution Picture with PHP

I'm processing images when the user uploads a pic but my problem is high rez pics. How do you detect …

php image gd high-resolution
Image GD resize to 100px while keep the ratio

Basically I want to upload an image (which i've sorted) and scale it down to certain constraints such as max …

php resize jpeg gd
Cropping image in PHP

I'd like crop an image in PHP and save the file. I know your supposed to use the GD library …

php gd image crop
PHP GD Use one image to mask another image, including transparency

I am trying to create a PHP script that takes an image: http://i.stack.imgur.com/eNvlM.png and …

php gd
Right align text in an image with imagettftext(), PHP

I am setting up dynamic forum signature images for my users and I want to be able to put their …

php image gd imagettftext