Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

PHP graphics object

date posted 23rd January 2003 22:05

This is a multi-part message in MIME format.

------=_NextPart_000_004E_01C2C32B.DC006A60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hey kids

Bit of an obscure question maybe... but what the hell.

PHP graphics object thingy...

I need to recreate some silly drawing from a pile of vectors taken from =
flash and save it as a PNG. All well and good, but the flash files were =
drawn with a circular brush thickness that varies in size. I can get =
all this going no problem - but when I use the PHP graphics doobrey to =
recreate the image to save it, the lines come out all crappy as the =
imageline method draws pathetically when the thickness is increased with =
the imagesetthickness method. My problem is I really need it to draw =
lines with a circular brush.

All very well I thought - I'll use the imagesetbrush method to use a wee =
filled-in-circle image generated on the fly to draw them like that.

But it looks like a server killer. God knows why - I suspect I'm doing =
something idiotic. But it might just be that drawing loads of lines =
with an image as a brush is going to slow things down too much.

I won't post the code yet as I'd have to muck around with it to get it =
in a sensible format to post, but this is just a 'feeler' to see if =
anyone has any experience with this kind of thing.

Any takers?

Cheers,
Dan.

------=_NextPart_000_004E_01C2C32B.DC006A60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable








Hey kids
 
Bit of an obscure question maybe... but =
what the=20
hell.
 
PHP graphics object =
thingy...
 
I need to recreate some silly drawing =
from a pile=20
of vectors taken from flash and save it as a PNG.  All =
well and good,=20
but the flash files were drawn with a circular brush thickness that =
varies in=20
size.  I can get all this going no problem - but when I use the PHP =

graphics doobrey to recreate the image to save it, the lines come out =
all crappy=20
as the imageline method draws=20
pathetically when the thickness is increased with the imagesetthickness=20
method.  My problem is I really need it to draw lines with a =
circular=20
brush.
All very well I thought - I'll use the imagesetbrush method to =
use a=20
wee filled-in-circle image generated on the fly to draw them like =
that.
But it looks like a server killer.  God knows why - I =
suspect I'm=20
doing something idiotic.  But it might just be that drawing loads =
of lines=20
with an image as a brush is going to slow things down too much.
 
I won't post the code yet as I'd have to muck around with it to get =
it in a=20
sensible format to post, but this is just a 'feeler' to see if anyone =
has any=20
experience with this kind of thing.
 
Any takers?
Cheers,
Dan.

------=_NextPart_000_004E_01C2C32B.DC006A60--




Messages by Day
January 31st 2003
January 30th 2003
January 29th 2003
January 28th 2003
January 27th 2003
January 26th 2003
January 25th 2003
January 24th 2003
January 23rd 2003
January 22nd 2003
January 21st 2003
January 20th 2003
January 19th 2003
January 18th 2003
January 17th 2003
January 16th 2003
January 15th 2003
January 14th 2003
January 13th 2003
January 12th 2003
January 11th 2003
January 10th 2003
January 9th 2003
January 8th 2003
January 7th 2003
January 6th 2003
January 5th 2003
January 4th 2003
January 3rd 2003
January 2nd 2003
January 1st 2003


Messages by Month
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000