Reply to imageTTFText with GD2, problems converting from pixels to points

Your name:

Reply:


Posted by Nitzan Tomer on 09/20/07 17:22

hi everyone,

i created a script that outputs an image (transparent with text) based
on parameters passed by $_GET.
everything in my application works with 'pixels' and since GD2 this
function (imagettftext) uses 'points' as the text size unit.

i've searched everywhere for a solution to convert from pixels to
points (or the other way around) but with no luck... each place says
something different and i can't find a good answer.

any ideas of how to solve this?

thanks a lot!
nitzan.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация