PHP

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • GD problems

    1 answers - 791 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Beauford wrote:
    Since I know nothing of how this works, does this actually create a physical
    image, and if it does I'm assuming it would be in the originating directory
    from where the script was run - if this is the case, I got nothing.
    This is a moot point now as I have done what I need without using gd, but it
    would be nice to find out what the problem is.
    Thanks.

    >Anyone know of a way I can test this further. A small script perhaps.

    <?php
    $image = imagecreatetruecolor(50, 50);
    imagefilledrectangle($image, 0, 0, 50, 50, 0xffffff);
    imagejpeg($image);
    ?>
    It creates it in memory and it's a 50 x 50 white square.
    Change the 0xffffff to 0xFF6600 and it should be a red square.
  • No.1 | | 606 bytes | |

    Since I know nothing of how this works, does this actually create a physical
    image, and if it does I'm assuming it would be in the originating directory
    from where the script was run - if this is the case, I got nothing.

    This is a moot point now as I have done what I need without using gd, but it
    would be nice to find out what the problem is.

    Thanks.

    Anyone know of a way I can test this further. A small script perhaps.

    <?php
    $image = imagecreatetruecolor(50, 50);
    imagefilledrectangle($image, 0, 0, 50, 50, 0xffffff);
    imagejpeg($image);
    ?>

Re: GD problems


max 4000 letters.
Your nickname that display:
In order to stop the spam: 6 + 6 =
QUESTION ON "PHP"

EMSDN.COM