antialiasing

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hari-kj
Forum Newbie
Posts: 10
Joined: Mon Jun 05, 2006 7:40 am

antialiasing

Post by hari-kj »

Hi,

I'm trying to draw an image from co-ordinates passed from Flash. Using these co-ordinates I'm tyring to redraw the image in PHP using imagecreatetruecolor method. But since the image is bigger i.e 800x600 the image is not antialiased. Is there any method that could help me so that the image that I draw is as good as that seen in flash?!!

I'm really in a tight schedule now and this is where I'm stuck up.

Help guys
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

I really suck at graphics, but perhaps you could draw the image larger and then reduce it's size?
User avatar
aerodromoi
Forum Contributor
Posts: 230
Joined: Sun May 07, 2006 5:21 am

Re: antialiasing

Post by aerodromoi »

hari-kj wrote:Hi,

I'm trying to draw an image from co-ordinates passed from Flash. Using these co-ordinates I'm tyring to redraw the image in PHP using imagecreatetruecolor method. But since the image is bigger i.e 800x600 the image is not antialiased. Is there any method that could help me so that the image that I draw is as good as that seen in flash?!!

I'm really in a tight schedule now and this is where I'm stuck up.

Help guys
http://de3.php.net/manual/de/function.i ... ialias.php ?

aerodromoi
User avatar
bokehman
Forum Regular
Posts: 509
Joined: Wed May 11, 2005 2:33 am
Location: Alicante (Spain)

Post by bokehman »

Is the output image a GIF? If so try switching to PNG. GIF really suck when it comes to aliasing.
Post Reply