About 412,000 results
- 例1 PHP による PNG の生成 <?php header("Content-type: image/png"); $string = $_GET['text']; $im = imagecreatefrompng("images/button1.png"); $orange = imagecolorallocate($im, 220, 210, 60); $px = (imagesx($im) - 7.5 * strlen($string)) / 2; imagestring($im, 3, $px, 9, $string, $orange);www.php.net/manual/ja/image.examples-png.php
- People also ask
PHP: imagettftext - Manual
Code sample
$text = 'Testing...';$font = 'arial.ttf';imagettftext($im, 20, 0, 11, 21, $grey, $font, $text);imagettftext($im, 20, 0, 10, 20, $black, $font, $text);imagepng($im);...Data under CC-BY-3.0 license© The PHP documentation is Copyright by and the property of the PHP Project and the PHP Group, and its inclusion in this product is not an endorsement by the PHP Project, PHP Group, or its subsidiaries and affiliates.Explore further
PHPで文字を画像にするやつ #PHP - Qiita
PHP | 画像を動的に生成する方法 | 修ちゃんの技術資料
【PHP】文字を埋め込む画像を生成する際、文字列を中央揃えに …
PHPで表示する文字列を画像化して表示させたい
PHP: PHP による PNG の生成 - Manual
【Lravel・PHP】文字列を画像にして保存する! ... - Zenn
PHP と TrueType フォントで文字列を画像化する - Open …
php - 画像上に、文字を縁取りしたテキストを描画したい - ス …
PHP: 画像処理および作成 - Manual