In my script, I have the following lines: $test = @imagecreatefrompng($name); if ($test) { ... } I am certain that $name represents an existing file on the disk, but I must handle cases where that
I\'m really new to xml, with this being my first dip into it. I\'m trying to add some text to an image using php and xml.
I have some problem with GD when i creates images with php. The strange thing is that it works on one server with php version 5.3.1 but not on php version 5.2.14. (I\'m not sure if it\'s the php ver
What I was hoping to do was use the JavaScript \"readAsDataURL\" method of the \"FileReader\" object in order to read file input from a drag and drop.Then I wanted to use Ajax with a PHP upload file i
If I control the server environment and filter out harmful injections, any reason why I shouldn\'t exec( \'mkdir \'.$perm.\' \'.$name ) in PHP?
I have been using this simple script to generate images from text: <?php header(\'Content-type: image/png\');
I\'d like to automate creation of images for CSS sprites. My goal is to convert a color thumbnail into black and white and merge it into one image with a color one on top and black at the bottom).
I have an uplo开发者_开发知识库ad Api that as a response object delivers (along with other stuff inside a Json object) a base64 encoded jpeg image.
Is it possible to take a 24 bit PNG with per-pixel alpha values and convert this into a 8 bit PNG while maintaining the transparency? The original image only contains a max of 256 colour so this shoul
I am trying to write text onto a png, however when I do it puts a dark border around it, I am not sure why.