You are here: size of "images" created by imagestring « PHP Programming Language « IT news, forums, messages
size of "images" created by imagestring

Posted by yawnmoth on 08/09/06 20:26

imagestring essentially turns text strings into images. Unfortunately,
these images can be of any size and, as far as I know, an images size
needs to be decided upon before imagestring is called.

So is there anyway the size that imagestring would require could be
calculated before the image was created?

When TTF fonts are used, the imagettfbbox function can be used to do
this, but what if TTF fonts aren't being used?

 

Navigation:

[Reply to this 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

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