gd2
PHP GD2: how to maintain alpha channel transparency and correct gamma
I was intrigued by this discussion of image scaling and subsequently found out that the PHP code I\'m using to create thumbnails from uploaded images suffers from the same problem. I decided to try th[详细]
2023-01-08 20:28 分类:问答PHP / JS image creation
I\'m wondering if this is possible: user uploads a picture which is then presented to him in the browser. The image is placed inside a div that has predefined image as backgroun开发者_如何学编程d. Use[详细]
2023-01-04 09:25 分类:问答Improving Performance on this Image Creation function
I am making use of GD2 and the image functions to take in a string and then convert that into an image using different fonts at different sizes. The function I use is below.[详细]
2022-12-31 12:39 分类:问答Letter placement error with GD2, TTF and PHP
Some time ago I made a script that takes some text and returns it as an image, and worked flawlessly. But I\'m not sure since when a weird bug started to happen. The letters that have a (my apologies[详细]
2022-12-27 17:02 分类:问答dynamically generating images in PHP sometimes isn't working
I have a page that needs to load several dynamically generated images. Everything works fine 90% of the time, but sometimes some of the images are not generated (I just get the missing image icon inst[详细]
2022-12-20 23:49 分类:问答