Jump to content

Search the Community

Showing results for tags 'gd'.

  • Search By Tags

    • gd ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Found 7 results

  1. Hoping someone can help me with a problem I having with drawing a line graph with gd php mysql Am trying to draw a simple line graph getting data from a MySQL database. attached is the code:- I just get lots of rubbish characters on the screen. If I echo the contents of the fetched data it i...
  2. I have a black and white image dividing a city into zip codes. So a bunch of shapes and that's it. I load it (imagecreatefrompng) and I'm filling the zipcodes with color based on coordinates of a spot in the zipcode and a color relevant to information about it. If I use imagefill (or imagefillt...
  3. I have created an image using the GD Library use Ajax to change parts of the image. For some reason it just wont print. When I print the image it is only printing the layer of the image that is hard coded. I can save the image then print it but other than that it wont work, it only prints the hard...
  4. Even though I literally copied and pasted the code below directly from the php.net manual on gd and image functions, I'm getting a syntax error message "unexpected t_variable" when I try to run the code. The culprit, according to the error message, is line 6 here: $gd = imagecreatetruecolor($x, $y...
  5. Spent the day trying to figure out why GD library 2.0 imagejpeg($resource_id,NULL,$quality); wouldn't output my images to the browser after updating PHP from 5.3 to 5.4. Allow me to hopefully save you the trouble. If you've enabled GD library and using an external script to generate image file...
  6. Hi Guys Adding text to an image is relatively easy but I need to add text to a number of images on the same page. Is the only way to add the text and save so that I can reload when I need to. The problem arises because there are a number of images (within link tags) which have descriptive text a...
  7. Well, I have an image ans I want to write a text on it. The issue is, it is saying, image cannot be displayed because it contains errors. Refer to the screenshot below as attachment. Here the codes: <img src="images/img.jpg" width="500" height="300"> <?php header ("Content-type: im...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.