473,789 Members | 2,431 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

GD imagefilledarc not working, but php version apparently recentenough.

Using GD imagefilledarc to fill in an arc drawn with php does not
work, but imagefilledelli pse 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 1815
On Apr 23, 1:05 pm, cwdjrxyz <spamtr...@cwdj r.infowrote:
Using GD imagefilledarc to fill in an arc drawn with php does not
work, but imagefilledelli pse 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
5326
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) FROM ORDERS O, REGION R
0
1921
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 command, "mysqld –user=root" I get the response "mysql.host" doesn't exist. If I try "mysqld – user=mysql", I get numerous errors. I installed Suse Linux Enterprise Server 8 from CDROM and included all options. I saw the MYSQL is part of the...
13
3069
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 (&) with "&amp;". If I place this XML in a file and open it with Internet Explorer the ampersand is properly dealt with. In my Java servlet I am using a SAX parser to parse the XML and write it to a database. When that parser gets to the "Notes"...
1
5388
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 application (VB.NET) will start a process, redirect its stdout and capture that process' output, displaying it in a window. I've written a component for this, and a test application for the component. It allows me to specify a command to execute,...
6
1979
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 something of a problem. The comparison is between two objects (Handler.Data is defined as returning an object.), but these objects are always nothing more than boxed value types (either strings or ints or an int based enumeration). If for the...
16
13348
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 in the context of developing an auto-suggest (basically reverse-engineering Google Suggest), but I don't see how any of the other code has anything to do with it. I *pretty sure* that I've narrowed it down to 1 line (the line on which the...
2
6913
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 Project/Properties the Publish Version shows the following: Major: 1 Minor: 0 Build: 0 Revision: 45
7
2368
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 "Custom Attributes" by type. The output below identifies that I can catch the "DefaultMemberAttribute", but I can not catch my own "DirectoryVersionAttribute". Cany anyone throw any light on this as it is driving mad Thanks in Advance, - Paul....
2
1265
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 a test page that triggers an event validation (which is a feature introduced in 2.0). I hit that test page and the error is generated. So apparently, the site (or, what it really looks like, is just the page) is still running in 2.0. So I add...
0
10193
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10136
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9979
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9016
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6761
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5415
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5548
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4089
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2906
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.