この日記のはてなブックマーク数 Subscribe with livedoor Reader

2015-03-20 Fri


imcap-capture を Mac でも [Emacs]


Emacsで画像を扱う[2006-01-29-4]で紹介した Emacsで使える画像キャプチャの仕組みは、Linux での利用だったんですが、OSX でもなんとかならんもんかとやってみました。

ImageMagickはとりあえず

$ brew install imagemagick --build-from-source --with-x11


としないと、

standard input or output.
import: delegate library support not built-in `' (X11) @ error/import.c/ImportImageCommand/1297.


こんな感じで怒られます。で --with-x11 つけると動きはするんですが、キャプチャ用のマウスカーソルが出てこない……どうしたものかと考えてたんですが

imagemagick's import under osx
http://stackoverflow.com/questions/14439703/imagemagicks-import-under-osx
にあるように、importコマンドの代わりに、screencaptureコマンドを使うことにしました

(defvar imcap-capture-command-format "import %s")


とあるのを

(defvar imcap-capture-command-format "screencapture -s %s")


と書き換え。

こんな感じで動いたけど、デカイよ…Retinaディスプレイのせい?

Image

んーどうしようかなぁ……




BootStrap3 に対応してみた [Web][Chalow]


テンプレートは

http://ironsummitmedia.github.io/startbootstrap-blog-post/

を使って、bootstrap3を入れてみた。これでモバイルフレンドリーになれただろうか?と思って

モバイルフレンドリーテスト
https://www.google.com/webmasters/tools/mobile-friendly/

をしてみるも、微妙にダメらしい……


IPv4/IPv6 meter
検索キーワードは複数指定できます
ChangeLogを検索
Google
Web www.kunitake.org
思ったより安い……時もある、Amazon

カテゴリ