ShotPin is an extension making it easy to share any portion of a web page to Pinterest with a link to it.
Plagger::Plugin::Publish::Screenshot。 CrenaHtml2jpg を使って、Plagger でスクリーンショットを出力してみる。 キャプチャには Win32::CaptureIE とかその辺のモジュール使えばPerlで完結するけど、試した中で一番安定してたのでCrenaHtml2jpgを使ってみた もちろんWindows専用。 cmd_path に CrenaHtml2jpg のアーカイブを展開したパスを設定して、dirに出力先ディレクトリを設定すると、そこにスクリーンショットの画像が放り込まれる。 すさまじくいい加減なコードだが、やりたいことは出来たのでよしとしよう。 他のOSにも対応したちゃんとしたモジュールがほしいなぁ。自分で作れって話だな。 package Plagger::Plugin::Publish::Screenshot; use st
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く