Top "Gd" questions

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

Efficient JPEG Image Resizing in PHP

What's the most efficient way to resize large images in PHP? I'm currently using the GD function imagecopyresampled to take …

php image gd jpeg
imagecreatefrompng() Makes a black background instead of transparent?

I make thumbnails using PHP and GD library but my code turn png transparency into a solid black color, Is …

php gd thumbnails
I have a base64 encoded png, how do I write the image to a file in PHP?

What's the proper way in PHP to create an image file (PNG), when I have the base64 encoding? I've been …

php png gd
How to install Imagick/imagemagick PHP extension on windows 7

How to install image magic in Windows 7. I followed these instruction To install IMagick on Windows XP (php 5.2.x) download …

php image imagemagick gd imagick
Compare 2 images in php

Comparing 2 images to see if they are both the same files are easy, threw the files MD5, but is it …

php image compare gd
How do I resize pngs with transparency in PHP?

I'm attempting to resize pngs with transparent backgrounds in PHP and the code samples I've found online don't work for …

php png gd resize
Create Image From Url Any File Type

I know of imagecreatefromgif(), imagecreatefromjpeg(), and imagecreatefrompng() but is there a way to create an image resource (for png preferably) …

php image gd
Compiling PHP with GD and libjpeg support

I compile my own PHP, partly to learn more about how PHP is put together, and partly because I'm always …

php gd compilation centos libjpeg
Put PNG over a JPG in PHP

I want to do the following in PHP: I have two images, a jpg and a png. I want to …

php image image-processing gd
Detect main colors in an image with PHP

I am trying to replicate the functionality that Dribbble.com does with detecting the predominant colors in an Image. In …

php image-processing imagemagick gd