Search Result

Collapse
2 results in 0.0014 seconds.
Keywords
Members
Tags
imagecreate
  •  

  • Can you imagecreatefrompng() & imagecopymerge() in one go?

    Is it possible to write text to an image using imagecreatefrom png() like here and merge the image produced with icon.png for example, in one go?

    The output of this PHP produced the image in the link above, I'm looking to merge this output with $icon below:
    Code:
    <?php
    $bg = $_REQUEST['bg'] ;
    $my_img = imagecreatefromjpeg( $bg);
    $text_colour = imagecolorallocate( $my_img, 255, 255, 255 );
    $input_text
    ...
    See more | Go to post

  • kip1790
    started a topic Need GD Library Imagecreate to display on same page
    in PHP

    Need GD Library Imagecreate to display on same page

    See example here

    Ultimately I want the image created to display next to the update button in the same browser window instead of loading into a new window. Then every time I input text and click 'update' the image is regenerated. As if you're customizing the image with whatever text the user inputs.

    A similar example I've found online is here.

    I'm simply just posting the text input variable to a PHP file...
    See more | Go to post
Working...