PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > GD imagefilledarc not working, but php version apparently recentenough.
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
GD imagefilledarc not working, but php version apparently recentenough.

Réponse
 
LinkBack Outils de la discussion
Vieux 23/04/2008, 19h05   #1
cwdjrxyz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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?
  Réponse avec citation
Vieux 24/04/2008, 07h46   #2
cwdjrxyz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: GD imagefilledarc not working, but php version apparently recentenough.

On Apr 23, 1:05 pm, cwdjrxyz <spamtr...@cwdjr.info> wrote:
> 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.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h43.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08827 seconds with 10 queries