Zoek je werk als Account Manager New Business (e-mailmarketing) in het midden van het land? Misschien is dit iets voor je!
quote:Op zondag 02 december 2001 20:14 schreef MAZZA het volgende:
Je GD heeft geen jpeg support...
http://www.boutell.com/gd/manual1.8.4.html
ah kijk
bedankt!
en nu ttf nog
Hier vind je een stukje code van iemand die ttf gebruikt:
http://gathering.tweakers.net/forum/list_message/11255603#11255603
http://gathering.tweakers.net/forum/list_message/11255603#11255603
Hail to the guardians of the watchtowers of the north
quote:Op zondag 02 december 2001 20:26 schreef Duracell het volgende:
Hier vind je een stukje code van iemand die ttf gebruikt:
http://gathering.tweakers.net/forum/list_message/11255603#11255603
die staat al in mijn icq lijst
maar die had gewoon ttf standaard ingebouwd. heeft SuSE ofzo
en zo te zien staat ttf zooi ook in die link die Mazza gaf
dus ik ben klaar denk ik
Zo ik had best wel een oude GD versie
1.3
1.3
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
| gcc -I. -I/usr/include/freetype2 -I/usr/include/X11 -I/usr/X11R6/include/X11 -I/usr/local/include -O -DHAVE_LIBXPM -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -DHAVE_LIBTTF -c -o gdttf.o gdttf.c gdttf.c:66: parse error before `TT_Engine' gdttf.c:66: warning: no semicolon at end of struct or union gdttf.c:67: warning: data definition has no type or storage class gdttf.c:68: parse error before `properties' gdttf.c:68: warning: data definition has no type or storage class gdttf.c:69: parse error before `instance' gdttf.c:69: warning: data definition has no type or storage class gdttf.c:70: parse error before `char_map_Unicode' gdttf.c:70: warning: data definition has no type or storage class gdttf.c:72: parse error before `matrix' gdttf.c:72: warning: data definition has no type or storage class gdttf.c:73: parse error before `imetrics' gdttf.c:73: warning: data definition has no type or storage class gdttf.c:75: parse error before `}' gdttf.c:75: warning: data definition has no type or storage class gdttf.c:81: parse error before `TT_Engine' gdttf.c:81: warning: no semicolon at end of struct or union gdttf.c:82: warning: data definition has no type or storage class gdttf.c:87: parse error before `TT_Glyph' gdttf.c:87: warning: no semicolon at end of struct or union gdttf.c:88: warning: data definition has no type or storage class gdttf.c:89: parse error before `outline' gdttf.c:89: warning: data definition has no type or storage class gdttf.c:90: parse error before `oldx' gdttf.c:90: warning: data definition has no type or storage class gdttf.c:91: parse error before `Bit' gdttf.c:91: warning: data definition has no type or storage class gdttf.c:95: parse error before `}' gdttf.c:95: warning: data definition has no type or storage class gdttf.c:100: parse error before `font_t' gdttf.c:100: warning: no semicolon at end of struct or union gdttf.c:101: warning: data definition has no type or storage class gdttf.c:112: parse error before `glyph_t' gdttf.c:112: warning: no semicolon at end of struct or union gdttf.c:113: warning: data definition has no type or storage class gdttf.c: In function `fontTest': gdttf.c:315: `a' undeclared (first use in this function) gdttf.c:315: (Each undeclared identifier is reported only once gdttf.c:315: for each function it appears in.) gdttf.c:315: parse error before `)' gdttf.c:316: `b' undeclared (first use in this function) gdttf.c:316: parse error before `)' gdttf.c: In function `fontFetch': gdttf.c:326: `TT_Error' undeclared (first use in this function) gdttf.c:326: parse error before `err' gdttf.c:327: `a' undeclared (first use in this function) gdttf.c:328: `b' undeclared (first use in this function) gdttf.c:328: parse error before `)' gdttf.c:332: parse error before `)' gdttf.c:340: `err' undeclared (first use in this function) gdttf.c:341: `TT_Err_Could_Not_Open_File' undeclared (first use in this function) gdttf.c:363: `TT_F26Dot6' undeclared (first use in this function) gdttf.c:373: `n' undeclared (first use in this function) gdttf.c:375: `map_found' undeclared (first use in this function) gdttf.c:380: `i' undeclared (first use in this function) gdttf.c:381: `platform' undeclared (first use in this function) gdttf.c:381: `encoding' undeclared (first use in this function) gdttf.c:412: `TT_Fixed' undeclared (first use in this function) gdttf.c: In function `fontRelease': gdttf.c:426: `a' undeclared (first use in this function) gdttf.c:426: parse error before `)' gdttf.c: In function `glyphTest': gdttf.c:441: `a' undeclared (first use in this function) gdttf.c:441: parse error before `)' gdttf.c:442: `b' undeclared (first use in this function) gdttf.c:442: parse error before `)' gdttf.c: In function `glyphFetch': gdttf.c:451: `a' undeclared (first use in this function) gdttf.c:452: `b' undeclared (first use in this function) gdttf.c:452: parse error before `)' gdttf.c:458: parse error before `)' gdttf.c:470: `flags' undeclared (first use in this function) gdttf.c:470: `TTLOAD_SCALE_GLYPH' undeclared (first use in this function) gdttf.c:472: `TTLOAD_HINT_GLYPH' undeclared (first use in this function) gdttf.c:475: `glyph_code' undeclared (first use in this function) gdttf.c:483: `err' undeclared (first use in this function) gdttf.c:500: `cos_a' undeclared (first use in this function) gdttf.c:501: `sin_a' undeclared (first use in this function) gdttf.c:502: `crect' undeclared (first use in this function) gdttf.c:518: `TT_Flow_Up' undeclared (first use in this function) gdttf.c: In function `glyphRelease': gdttf.c:538: `a' undeclared (first use in this function) gdttf.c:538: parse error before `)' gdttf.c: In function `bitmapTest': gdttf.c:552: `b' undeclared (first use in this function) gdttf.c:552: parse error before `)' gdttf.c: In function `bitmapFetch': gdttf.c:565: `b' undeclared (first use in this function) gdttf.c:565: parse error before `)' gdttf.c:572: warning: unreachable code at beginning of switch statement gdttf.c: At top level: gdttf.c:647: parse error before `font_t' gdttf.c: In function `gdttfchar': gdttf.c:660: `glyph' undeclared (first use in this function) gdttf.c:661: `glyphkey_t' undeclared (first use in this function) gdttf.c:661: parse error before `glyphkey' gdttf.c:662: `bitmapkey_t' undeclared (first use in this function) gdttf.c:669: `tweenColorCache' undeclared (first use in this function) gdttf.c:674: `font' undeclared (first use in this function) gdttf.c:675: `next' undeclared (first use in this function) gdttf.c:717: `glyphkey' undeclared (first use in this function) gdttf.c:720: parse error before `)' gdttf.c:724: `bbox' undeclared (first use in this function) gdttf.c:725: `advance' undeclared (first use in this function) gdttf.c:728: `im' undeclared (first use in this function) gdttf.c:728: `fg' undeclared (first use in this function) gdttf.c:732: `bitmapkey' undeclared (first use in this function) gdttf.c:732: `x1' undeclared (first use in this function) gdttf.c:733: invalid operands to binary & gdttf.c:738: `x' undeclared (first use in this function) gdttf.c:739: `y' undeclared (first use in this function) gdttf.c:739: invalid operands to binary & gdttf.c:740: `tweencolorkey' undeclared (first use in this function) gdttf.c:764: `tweencolor' undeclared (first use in this function) gdttf.c: In function `gdImageStringTTF': gdttf.c:781: `TT_F26Dot6' undeclared (first use in this function) gdttf.c:781: parse error before `ur_x' gdttf.c:783: `TT_BBox' undeclared (first use in this function) gdttf.c:783: `bbox' undeclared (first use in this function) gdttf.c:784: parse error before `double' gdttf.c:786: `font' undeclared (first use in this function) gdttf.c:787: `fontkey_t' undeclared (first use in this function) gdttf.c:787: parse error before `fontkey' gdttf.c:796: `fontCache' undeclared (first use in this function) gdttf.c:797: `engine' undeclared (first use in this function) gdttf.c:806: `fontkey' undeclared (first use in this function) gdttf.c:810: parse error before `)' gdttf.c:814: `sin_a' undeclared (first use in this function) gdttf.c:815: `cos_a' undeclared (first use in this function) gdttf.c:817: `advance_x' undeclared (first use in this function) gdttf.c:817: `advance_y' undeclared (first use in this function) gdttf.c:822: `tmpstr' undeclared (first use in this function) gdttf.c:824: `next' undeclared (first use in this function) gdttf.c:832: `ch' undeclared (first use in this function) gdttf.c:848: `x1' undeclared (first use in this function) gdttf.c:851: `error' undeclared (first use in this function) gdttf.c:851: `advance' undeclared (first use in this function) gdttf.c:854: `i' undeclared (first use in this function) gdttf.c:855: `ll_x' undeclared (first use in this function) gdttf.c:856: `ll_y' undeclared (first use in this function) gdttf.c:857: `ur_x' undeclared (first use in this function) gdttf.c:858: `ur_y' undeclared (first use in this function) make: *** [gdttf.o] Error 1 |
dat gaat lekker
Ehm... Ik mis wat hoor... Wat is nou je probleem? Je moet gewoon de nieuwste GD downen en die met FreeFont libs en jpeg libs enzo compilen... GIF,JPG en PNG gaat niet... Gif support mag niet meer ivm copyrights...
Check www.php.net en dan documentation, online in englisch en dan Image Functions. Daar staat wel url's
Check www.php.net en dan documentation, online in englisch en dan Image Functions. Daar staat wel url's
De ideale jongerenhangplek: Een kuil met ongebluste kalk... Nee, ik ben niet radicaal
quote:Op zondag 02 december 2001 21:15 schreef Kippenijzer het volgende:
Ehm... Ik mis wat hoor... Wat is nou je probleem? Je moet gewoon de nieuwste GD downen en die met FreeFont libs en jpeg libs enzo compilen... GIF,JPG en PNG gaat niet... Gif support mag niet meer ivm copyrights...
Check www.php.net en dan documentation, online in englisch en dan Image Functions. Daar staat wel url's
png en jpg moeten wel kunnen
gif kan idd niet las ik net...
Berichten: 7.105
Reg. datum: 13 juni 1999
Reg. datum: 13 juni 1999
ja ik heb wel een GD met gif
maar die had geen zin in PNG en JPG
maar die had geen zin in PNG en JPG
ik ga proberen
hopen dat ttf dan ook werkt
hopen dat ttf dan ook werkt
niet dus
gcc -I. -I/usr/include/freetype2 -I/usr/include/X11 -I/usr/X11R6/include/X11 -I/usr/local/include pngtogd.o -o pngtogd -L. -L/usr/local/lib -L/usr/lib/X11 -L/usr/X11R6/lib -lgd -lpng -lz -ljpeg -lfreetype -lm -lttf
/usr/bin/ld: cannot find -ljpeg
collect2: ld returned 1 exit status
make: *** [pngtogd] Error 1
iemand enig idee wat dit kan zijn?
ik heb jpeg wel geinstalleerd
gcc -I. -I/usr/include/freetype2 -I/usr/include/X11 -I/usr/X11R6/include/X11 -I/usr/local/include pngtogd.o -o pngtogd -L. -L/usr/local/lib -L/usr/lib/X11 -L/usr/X11R6/lib -lgd -lpng -lz -ljpeg -lfreetype -lm -lttf
/usr/bin/ld: cannot find -ljpeg
collect2: ld returned 1 exit status
make: *** [pngtogd] Error 1
iemand enig idee wat dit kan zijn?
ik heb jpeg wel geinstalleerd
quote:Op zondag 02 december 2001 22:14 schreef dinges het volgende:
ik heb jpeg wel geinstalleerd
libjpeg ook zelf gecompileerd, of een standaard package van Debian/Redhat/SuSE whatever geinstalleerd ?
In het laatste geval moet je ook op zoek naar een package die heet : libjpeg-dev
God, root, what is difference? | Talga Vassternich | IBM zuigt
aha!quote:Op zondag 02 december 2001 22:17 schreef moto-moi het volgende:
[..]
libjpeg ook zelf gecompileerd, of een standaard package van Debian/Redhat/SuSE whatever geinstalleerd ?
In het laatste geval moet je ook op zoek naar een package die heet : libjpeg-dev
* dinges speurt
edit:
oops
deze post is nu overbodig
oops
deze post is nu overbodig
ik heb PHP nu al 5 keer opnieuw gecompiled met apache en al die dingen erbij en het werkt nog steeds niet...
nog steeds dezelfde fout
nog steeds dezelfde fout
quote:Op maandag 03 december 2001 18:21 schreef j3p het volgende:
Je wil niet weten hoe lang je met dat gedoe bezig kunt zijn, ik had nog 4x zoveel nodig in php
ow jee
en dat ben jij
ik ben dan ook nog newbie
Misschien stomme vraag, maar heb je na het compilen ook de libs enzo geinstalleerd (in de juiste dirs geplaatst, ldconfig gedraait, wellicht apache config aangepast...) anders werkt het niet...
(vraag het maar even:been there done that
)
(vraag het maar even:been there done that
jep, jep, jepquote:Op maandag 03 december 2001 18:36 schreef Operations het volgende:
Misschien stomme vraag, maar heb je na het compilen ook de libs enzo geinstalleerd (in de juiste dirs geplaatst, ldconfig gedraait, wellicht apache config aangepast...) anders werkt het niet...
(vraag het maar even:been there done that)
Hij geeft bij nader inzien nu wel een andere melding he...
Hij zegt nu "<b>Warning</b>: imagecreatefromjpeg: './images/goticons/' is not a valid JPEG file in <b>/var/www/icon.php</b> on line <b>25</b><br>
" terwijl hij eerst riep geen jpeg ondersteuning te hebben...
staan er wel jpegjes in die directory?? (en dan ook alleen jpegjes.. er wordt niet gekeken naar de files, hij pakt een volkomen willekeurig bestand uit die dir en laad dat in als jpeg... als er bijv. ook een tekstfile in staat zal hij deze melding geven.
Hij zegt nu "<b>Warning</b>: imagecreatefromjpeg: './images/goticons/' is not a valid JPEG file in <b>/var/www/icon.php</b> on line <b>25</b><br>
" terwijl hij eerst riep geen jpeg ondersteuning te hebben...
staan er wel jpegjes in die directory?? (en dan ook alleen jpegjes.. er wordt niet gekeken naar de files, hij pakt een volkomen willekeurig bestand uit die dir en laad dat in als jpeg... als er bijv. ook een tekstfile in staat zal hij deze melding geven.
quote:Op maandag 03 december 2001 18:44 schreef Operations het volgende:
Hij geeft bij nader inzien nu wel een andere melding he...
Hij zegt nu "<b>Warning</b>: imagecreatefromjpeg: './images/goticons/' is not a valid JPEG file in <b>/var/www/icon.php</b> on line <b>25</b><br>
" terwijl hij eerst riep geen jpeg ondersteuning te hebben...
staan er wel jpegjes in die directory?? (en dan ook alleen jpegjes.. er wordt niet gekeken naar de files, hij pakt een volkomen willekeurig bestand uit die dir en laad dat in als jpeg... als er bijv. ook een tekstfile in staat zal hij deze melding geven.
he verrek
is me nog niet eens opgevallen
nu staan er wel jpegjes in
en dus weer een andere melding
wat een variatie
edit:
Server:/var/www/images/goticons# ls -l
total 508
-rwxr--r-- 1 root root 272260 Dec 3 19:42 3dmark_2.jpg
-rwxr--r-- 1 root root 156299 Dec 3 19:42 foo.jpg
-rwxr--r-- 1 root root 33335 Dec 3 19:42 level6.jpg
-rwxr--r-- 1 root root 40217 Dec 3 19:42 level7.jpg
hij zou dus wel moeten kunnen openen
Server:/var/www/images/goticons# ls -l
total 508
-rwxr--r-- 1 root root 272260 Dec 3 19:42 3dmark_2.jpg
-rwxr--r-- 1 root root 156299 Dec 3 19:42 foo.jpg
-rwxr--r-- 1 root root 33335 Dec 3 19:42 level6.jpg
-rwxr--r-- 1 root root 40217 Dec 3 19:42 level7.jpg
hij zou dus wel moeten kunnen openen
[edit2]
ik heb alles maar ff op chmod 777 gezet...
nu is er weer een nieuwe melding
variatie variatie variatie
Hij kan ze nu wel lezen, nog geen ttf support, en om de een of andere reden probeert hij soms de directory te lezen ipv een van de plaatjes... 
code:
code:
1
2
3
4
5
6
7
8
9
10
11
| br> <b>Warning</b>: ImageTtfText: No TTF support in this PHP build in <b>/var/www/icon.php</b> on line <b>26</b><br> <br> <b>Warning</b>: ImageTtfText: No TTF support in this PHP build in <b>/var/www/icon.php</b> on line <b>27</b><br> <br> <b>Warning</b>: ImageTtfText: No TTF support in this PHP build in <b>/var/www/icon.php</b> on line <b>28</b><br> <br> <b>Warning</b>: ImageTtfText: No TTF support in this PHP build in <b>/var/www/icon.php</b> on line <b>29</b><br> GIF87a~áç\`ÆCF¸HKÈÂÈ 'LLLE++x¦xÊâܲ¥#$OhO¦Åè¦g ... etcetera.... |
TTF = toch freetype?
of vergis ik mij?
als ik me heb vergist ga ik me nu heeeeeeeeeeeel dom voelen
of vergis ik mij?
als ik me heb vergist ga ik me nu heeeeeeeeeeeel dom voelen
Ehmz... toch True Type Fonts?quote:Op maandag 03 december 2001 19:18 schreef dinges het volgende:
TTF = toch freetype?
of vergis ik mij?
als ik me heb vergist ga ik me nu heeeeeeeeeeeel dom voelen
Pagina: 1




