gd
using getimagesize() to determine whether a file is an image
Would calling getimagesize() on a file and checking if the returned value differs from false suffice to determine whether or not a file is an image?[详细]
2023-04-05 12:00 分类:问答How to save an image using PHP and GD
I am created dynamic image using php and gd library开发者_运维知识库 as follows, imagecopy ($iOut,$imgBuf[0],$left,$top,0,0,imagesx($imgBuf[0]),imagesy($imgBuf[0]));[详细]
2023-04-05 06:36 分类:问答php resize image zoomcrop without border (logic)
i have a image manipulation class, i want to create images that always fill the entire new width and height so the开发者_StackOverflow中文版re are no borders/solid color background, i just cant unders[详细]
2023-04-04 23:41 分类:问答Image transparency in PHP GD library
I need to create a PNG image from 4 parts of another PNG image with different levels of transparency using GD library in PHP. For example:[详细]
2023-04-04 16:40 分类:问答Darken part of an image using GD
I\'ve got a jpg image and I want to return the same image, with a \"highlight\" effect. Basically, I want to pass the script the xy coords, and redraw the image darkened, with an ellipse that remains[详细]
2023-04-04 09:36 分类:问答Generating Images With Other Images
I am trying to make a progress bar for my clan website that shows the progress the user has made from their current rank to their next promotion.Basically, my for statements generate the bars that I w[详细]
2023-04-03 20:57 分类:问答Resizing and cropping image with GD while retaining aspect ratio
I\'m currently coding an uploader script based on Uploadify. Right now I resize the given image and watermark one of the sizes. It all works well, but I need the script to resize the height and then c[详细]
2023-04-03 12:10 分类:问答How to handle different uploaded dimensions pictures and resize them to standard size(dimensions) without losing quality?
For my Iphone and Android App. I allow users to upload images(which can be of different dimensions). These images are later displayed in the app(TableView). How 开发者_Python百科can i assure that the[详细]
2023-04-03 08:37 分类:问答Image color modification via Javascript or PHP
I need to change the color of a transparent PNG that will not touch the 100% transparent part via Javascript or PHP. I would like to the the exactly same thing that Photoshop color overlay does on a l[详细]
2023-04-01 16:28 分类:问答Merging multiple transparent PNGs into one
I am framing ads with a curved border. Here is a sample ad: http://imageshack.us/f/20/4e5f5fe94b327new60seciq.png/[详细]
2023-04-01 15:31 分类:问答