increasing image / text resolution in GD
Posted: Thu Jun 19, 2008 11:28 am
Hi all,
I'm trying GD out for the first time. Here's my issue.
I'm interested in using GD to turn text into an image that I can then rotate by 90 degrees (as a way round browsers not being able to handle vertical text). It all works but the final image resolution appears to be somewhat low ... I guess the standard 72dpi. Trouble is that this image is going to placed adjacent to normal HTML text, which is going to render anywhere between 300 to 1200 dpi when printed on a nomal desktop printer .... so (you guessed it) my GD text looks aliasing and raggady next to my HTML text.
Is there anyway that I can get GD to render at a higher DPI so I can try match the quality?
I'm trying GD out for the first time. Here's my issue.
I'm interested in using GD to turn text into an image that I can then rotate by 90 degrees (as a way round browsers not being able to handle vertical text). It all works but the final image resolution appears to be somewhat low ... I guess the standard 72dpi. Trouble is that this image is going to placed adjacent to normal HTML text, which is going to render anywhere between 300 to 1200 dpi when printed on a nomal desktop printer .... so (you guessed it) my GD text looks aliasing and raggady next to my HTML text.
Is there anyway that I can get GD to render at a higher DPI so I can try match the quality?