gd
Cropping images and saving them
I have this .png: I want to crop a 16x16 square and save it as another .png with some name, then I need to continue with the next 16 pixels (to开发者_如何学编程 the right and then to the next row)[详细]
2023-03-06 12:00 分类:问答Efficient way to store images to DB from PHP GD image object
I need to generate and store a lot of small (1-10KB) PNG images (>10 millions) to the database. The only thing I care is images/s throughput. For now I know two ways of storing GD image object to the[详细]
2023-03-06 11:25 分类:问答How to make this image effect, any library that can help with it
Do you know if an emboss effect like this can be done with a programming package. Can someone suggest something[详细]
2023-03-06 03:51 分类:问答php GD captcha image not showing on Mac
I\'m using a simple cap开发者_开发问答tcha system for a form. Works fine on Windows but it not showing on Mac. In both systems DG is enabled, I\'ve checked with phpinfo().[详细]
2023-03-06 03:25 分类:问答Using the GD library for PHP, imagecreatetruecolor(100, 100) returns Resource Id #53?
For some reason imagecreatetruecolor is returning 开发者_Python百科Resource Id #53. Any ideas why?That\'s how it works. It does not output an image directly, it generates a handle first, which you the[详细]
2023-03-05 18:54 分类:问答Combining images with PHP GD
I want to combine some images with PHPGD to create a CSS Sprite dynamically, though I have a problem. I haven\'t worked so much with GD and I barely managed to do it, but the problem is the images occ[详细]
2023-03-05 17:16 分类:问答GD Library image creation problem
I am having a problem with a gd library issue.When I use the following code <script type=\"text/javascript\">[详细]
2023-03-05 00:41 分类:问答PHP create image from application/octet stream
My application 开发者_Go百科is having images sent to it from mobile devices with the content-type \"application/octet-stream\".[详细]
2023-03-04 21:18 分类:问答php resize image then crop image problem
I want to reduce a picture size from 600px * 500px to 60px * 50px size, then crop it become 50px *开发者_开发问答50px. I have two groups of codes, 1 is to reduce the size of image, other 1 is to crop[详细]
2023-03-04 20:56 分类:问答Way to verify if variable is a valid GD image resource?
I have a class that accepts a GD image resource as one of its arguments. As far as I know, there is no way to type hint this since it is a resource and not an object. Is there a way to validate whethe[详细]
2023-03-04 19:03 分类:问答