ウェブページのピクチャーを回転します


文字を画像に変換します.例えば、よく使われる長微博ツールはPHPで処理します.
text2pic
composer require dsgygb/text2pic
touch test.php
generate("hello world");
print_r($result);
#       /c/windows/fonts/sihei.ttf
$transform=new Text2pic\Transform($by,$uploadsPath,$uploadsUrl,$fontPath);

wkhtmltopdf
アドレスのダウンロードの後に2つのツールwkhtmltoimageとwkhtmltopdfがそれぞれホームページをピクチャーとpdfのを回転するので、具体的な使用の参考
#     https://gist.github.com/vibbow/5702882
/user/bin/wkhtmltoimage http://www.baidu.com/ baidu.jpg
#php          
$r=shell_exec("/user/bin/wkhtmltoimage http://www.baidu.com/ baidu.jpg");
$r=shell_exec("/user/bin/wkhtmltoimage -q {$filename}.html {$filename}.jpg");

phpwkhtmltopdf
#    PHP   https://github.com/mikehaertl/phpwkhtmltopdf  
composer require mikehaertl/phpwkhtmltopdf
require './vendor/autoload.php';
use mikehaertl\wkhtmlto\Image;

// You can pass a filename, a HTML string, an URL or an options array to the constructor
$image = new Image('/path/to/page.html');
$image->saveAs('/path/to/page.png');//  

// ... or send to client for inline display
$image->send();//     

// ... or send to client as file download
$image->send('page.png');//        

#      https://github.com/knplabs/snappy
use Knp\Snappy\Pdf as newpdf; 
$snappy = new newpdf('wkhtmltopdf');
header('Content-Type: application/pdf');
header('Content-Disposition: attachment; filename="file.pdf"');
// echo $snappy->getOutput('http://www.github.com');
$snappy->generateFromHtml('

Bill

You owe me money, dude.

', 'bill-123.pdf');

more
         https://github.com/jokin1999/HoldUpSign
https://stackoverflow.com/questions/5663814/how-do-i-get-wkhtmltopdf-to-execute-via-php 
http://www.jianshu.com/p/4d65857ffe5e
http://yuncode.net/code/c_51dd01a4d547f26
https://github.com/niklasvh/html2canvas 
               https://segmentfault.com/a/1190000011425316