Questions tagged [php-gd]

The PHP GD class contains built in image manipulation for PHP versions 4.3 and up.

The PHP GD class contains built in image manipulation for versions 4.3 and up. This class is commonly used for:

  • Adding filters to images
  • Adding watermarks to images
  • Changing image size for upload
  • Outputting an image to the buffer
  • Creating images on the fly (e.g. captcha verification)

A download of the library can be found at https://bitbucket.org/pierrejoye/gd-libgd/downloads

370 questions
-1
votes
2 answers

How to curve an image without CSS

Guys i want to curve an image without using CSS. is there anyway to do it with HTML5 ,HTML5 canvas or php. i was able to curve line but how curve an image. can anybody give me a direction.
MD TAHMID HOSSAIN
  • 1,581
  • 7
  • 29
  • 54
-1
votes
3 answers

How to Crawl a PHP generated image

I have a website textscloud.com In this website i make the image with the PHP GD library. Here is a link to a demo: In this page i allow the user to download the image on which text will pe printed. download link is like This download.php file has…
Rishi
  • 123
  • 10
-1
votes
2 answers

Php "imagettftext" return null image(not working)

i've testing on localserver and online web server... but return a null image... check return result... http://s8.postimage.org/sthztzj5x/null_image.jpg
Rameez SOOMRO
  • 1,529
  • 15
  • 24
-1
votes
1 answer

Show cropped image

I'm using a script that helps users to upload their profile images then to crop them to choose the convenient position I have a problem with PNG & GIF images they aren't shown This is the crop file code please modify it in order to make it able to…
-1
votes
1 answer

How to apply saturation to photo using php gd

I want to apply saturation to photo using php gd but I only know that to do image editing. I need to: Change BGR to HSL do something which I don't know. Change the result back from HSL to BGR. Anyone know what is the logic/algorithm for step…
ATZ
  • 353
  • 2
  • 7
  • 18
-2
votes
1 answer

GD extension for PHP 5.6.20

I have a vagrant box with LAMP. Linux distribution is Ubuntu 14.04.1 My PHP project has got a composer package and it's package use gd extension. I install php5-gd and added to php.ini file but it's not sold the problem. I type "php -v" to terminal…
Mesuti
  • 878
  • 1
  • 13
  • 29
-2
votes
1 answer

Why the quality of uploaded image quality is severely getting affected during image re-size even after using PHP GD functions?

I'm re-sizing the images uploaded by user to some specific size(i.e. specific width and height). I want to make the uploaded images of dimension 940 px * 370 px. But while doing so I don't want to affect the quality of image originally uploaded by…
PHPLover
  • 1
  • 51
  • 158
  • 311
-4
votes
1 answer

Create image PHP

How to make php create an image like that? (Obviously, without texts, borders, lines, arrows.)
Eduardo Dallmann
  • 423
  • 5
  • 14
-4
votes
3 answers

converting html to image not working

I use this script to make html code into image using php-gd library: Image Out Put sadadasdasdasdasdasd '; $img =…
Almog Asulin
  • 57
  • 2
  • 6
-4
votes
3 answers

Php-gd: PHP Extension gd must be loaded & Unable to locate package

Having an issue with php-gd I inserted this command: sudo apt-get install php5-curl php5-mcrypt php5-gd php5-common throughout the process to setup Magento but when I went through Validation, this is what I got: "PHP Extension gd must be…
Kevin H
  • 13
  • 1
  • 2
  • 6
1 2 3
24
25