php-gd Questions
3
Solved
After updating to Mac OS X 10.10 (Yosemite) and starting Apache with PHP support, everything works as before except for any image operations on PNG files. I get a Call to undefined function imagecr...
Geraint asked 18/10, 2014 at 18:40
2
Solved
Basically, I'm using PHP and HTML for my website. I'm a newbie to PHP. So I request you to please correct me if I've made any mistake in my code or approach.
I've written code for re-sizing the im...
Adopted asked 11/10, 2014 at 6:58
3
Solved
I've been trying to get transparency to work with my application (which dynamically resizes images before storing them) and I think I've finally narrowed down the problem after much misdirection ab...
1
Solved
I've installed php 5.5.6 from remi repo, bun phpinfo() shows no GD library and gd_info() function does not exist.
Extension is enabled in /etc/php.d/gd.ini, but still nothing.
I've also tried to ...
1
Solved
I'm building a radon transformation after this article in PHP.
But my output is not of the expected result.
Input:
Expected Result:
Actual Result:
...
I'm deliberately working with RGB ins...
Terrance asked 30/10, 2013 at 16:55
4
Solved
Writing a routine to display data on a horizontal axis (using PHP gd2, but that's not the point here).
The axis starts at $min to $max and displays a diamond at $result, such an image will be aroun...
Nub asked 17/2, 2013 at 17:22
2
Solved
Here is an example what I would like to do:
Here is the result:
function red_rectangle($img_src,$x1,$y1,$x2,$y2,$tr = 50)
{
// Load image
$img = imagecreatefromjpeg($img_src);
// Transparent...
2
Solved
I have written a recursive function in PHP to crop text. The cropped text will have ... attached to the end. Non-cropped text will be returned in its original state.
It works if the text fits...
© 2022 - 2024 — McMap. All rights reserved.