473,386 Members | 1,733 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

GD imagefilledarc not working, but php version apparently recentenough.

Using GD imagefilledarc to fill in an arc drawn with php does not
work, but imagefilledellipse works fine. The imagefilledarc is
supposed to have worked since php version 4.06. I have version 4.3.11,
so the version should be recent enough. If you will click on
http://www.cwdjr.net/php/phpInfo.php , you will get a dump of php info
from my host's server using phpinfo(). This confirms the php version.
GD info is given, and the GD installed is supposed to be bundled
compatible to GD version 2.0.28. Does anyone have any idea why
imagefilledarc apparently is not supported?
Jun 2 '08 #1
1 1794
On Apr 23, 1:05 pm, cwdjrxyz <spamtr...@cwdjr.infowrote:
Using GD imagefilledarc to fill in an arc drawn with php does not
work, but imagefilledellipse works fine. The imagefilledarc is
supposed to have worked since php version 4.06. I have version 4.3.11,
so the version should be recent enough. If you will click onhttp://www.cwdjr.net/php/phpInfo.php, you will get a dump of php info
from my host's server using phpinfo(). This confirms the php version.
GD info is given, and the GD installed is supposed to be bundled
compatible to GD version 2.0.28. Does anyone have any idea why
imagefilledarc apparently is not supported?
After wasting many hours, I have found the problem. The reference I
was using indicated that the same parameters are used for
imagefilledarc as for imagearc. That is true, except a final parameter
must be added to select from 4 possible types of fill. I finally knew
something was wrong with the code when I found a parameter was missing
using some tests. For instance a final parameter of img_arc_pie gives
a completely filled wedge shape with a curved edge, or piece of pie.
For more details concerning this final parameter see
http://www.hudzilla.org/phpbook/read.php/11_2_4 .

I thought I should post a few details in case someone else used the
same reference I did that did not mention the final parameter required
for image filled arc. If you do not include this parameter, there is
no default one. The code just fails and gives no image. Thanks to
anyone who examined my post.
Jun 2 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: UNIXNewBie | last post by:
Am looking at an Oracle SQL reference book. They have the following SQL for ROLLUP which works SELECT 0.YEAR, TO_CHAR(TO_DATE(O.MONTH, 'MM'), 'Month') MONTH, R.NAME REGION, SUM(O.TOT_SALES)...
0
by: Jim Williams | last post by:
I am not able to get MYSQL running on Suse Linux Enterprise Server. I tried stopping with the command mysqld and it reported, "Shtudown Complete." Then when I tried to restart it with the...
13
by: Rick Brandt | last post by:
If you examine the complete XML below you will see an element "Notes" consisting of... <Notes>test replace test&amp;replace</Notes> As you can see I have properly (I think) escaped the ampersand...
1
by: Oz | last post by:
This is long. Bear with me, as I will really go through all the convoluted stuff that shows there is a problem with streams (at least when used to redirect stdout). The basic idea is that my...
6
by: Kenneth Baltrinic | last post by:
I have the following routine that is always throwing the error at the end. It never returns from within the foreach loop because the if expression is always evaluating to false apparently. This is...
16
by: Joel Byrd | last post by:
I am having this ridiculous problem of trying to set the innerHTML of a div node. It works in all other browsers, but internet explorer is giving me an "Unknown runtime error". This is actually...
2
by: Zim Babwe | last post by:
I posted in another group but thought this was the better place to post, since it had to do with the vb language I have been making changes to my Windows Application and in the...
7
by: Paul Hadfield | last post by:
Hi, I'm running into one problem with trying to call "Type.GetCustomAttributes(...)" on my reflected code. Basically - I can't trap my own custom attribute - I can only catch / identify system...
2
by: slolife | last post by:
I have an W2k3IIS server with .NET 1.1 and 2.0 installed. I have a website, which I'd like to run as 1.1. So I go to that website/app's properties, and on the ASP.NET tab, I select 1.1. I have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.