gd
PHP GD imagecopyresampled() and flip it horizontal
I\'m rendering a PNG image from another PNG image with imagecopyresampled(). Now i want some parts of the image to be flipped horizontal, so i have tried this:[详细]
2023-04-13 01:45 分类:问答PHP GD Library, rendering an image - saving the image or not (what is the most effective solution)?
开发者_Python百科I have a PHP script that renders an image from another image using PHP GD Library. I need to know what is the most effective solution (what is the best way):[详细]
2023-04-12 16:42 分类:问答PHP: how to create an image from another PNG image
I h开发者_高级运维ave a small Minecraft server where people can upload their skins. Minecraft skins are small png images. Is it possible to convert this png image to another png image via PHP (e.g. GD[详细]
2023-04-12 05:07 分类:问答Change color in a single color transparent png using gd libarary
i m trying to recolor a one color png image using gd library. I found a code in another post that will recolor a gif. I have modified that code to work with transparent png. Here is my code. I can cre[详细]
2023-04-11 17:58 分类:问答Watermarking an image with php, full code in here =)
O wrote this code to overlay 1 image over the other one... For some reason firefox reports that there is an error in the image and cannot be displayed.[详细]
2023-04-11 09:38 分类:问答GD+PHP: Exception to see if imagefail fails?
imagetruecolortopalette($dst_image,true,$colorcount); imagepalettecopy($dst_image,$src_image); $transparentcolor = imagecolortransparent($src_image);[详细]
2023-04-10 06:54 分类:问答Mystery issue with GIF upload?
Alright, so whenever I upload this GIF to my board (NGINX+PHP-FPM) I get a slow down until an eventual 504 Gateway Time-out, alright, so I know what you\'re thinking, \"go ahead and fix those nginx.co[详细]
2023-04-10 06:06 分类:问答Use PHP to convert JPEGs to transparent PNG
I have a lot of JPEG images that I want to convert to PNG images using PHP. The JPEGs are going to be uploaded by client开发者_如何学Cs so I can\'t trust them to make sure they are in the right format[详细]
2023-04-09 07:29 分类:问答How to rotate image and resize with transparent background using PHP GD
Following code using for rotate an image and resize the same, <?php $src = \"41611326.png\"; // Get new dimensions[详细]
2023-04-09 03:36 分类:问答