Click to See Complete Forum and Search --> : Anti-Alias Question (GD)


chadypu
01-14-2004, 09:29 PM
i have some images but they are really jaggy... i tried imageantialias() but it seems not to work...

imageantialias($img,1) is how im using it... i dont see what im doing wrong

or is there another way to anti-alias dynamic images...

thanks
-chady

edit-and how can i make the path to my image.png

so instead of going to image.php its image.png

thanks

pyro
01-14-2004, 09:41 PM
What version of PHP to you have?

chadypu
01-14-2004, 09:43 PM
4.3.4

pyro
01-14-2004, 09:46 PM
Hmm... since the function is not document, and I've never had the need to use it, I'm not sure what to tell you.

chadypu
01-14-2004, 09:49 PM
the aliasing on the circles i can deal with but i have a rectangle at an angle it looks terrible :S

can you help me with making it so i can call it as image.png instead of image.php

thanks pyro...

pyro
01-14-2004, 09:58 PM
You want image.png to contain PHP code, though?

chadypu
01-15-2004, 03:06 PM
i want image.png to be created dynamically or whatever

i saw that you could change your htaaccess but wouldnt that make it so no regular pngs would work on my server?

pyro
01-15-2004, 04:10 PM
Not sure, you'd have to try it. I personally would just leave it pointing to a .php file...

chadypu
01-15-2004, 10:30 PM
i want it for future reference... like if i made a dynamic signiture for myself on a forum and they didnt allow .php pictures but they allowed .png

can you make a special .htaaccess for just one directory and not any others?