2007-09-19から1日間の記事一覧
超車輪ながら、とりあえず。 # 画像を角丸にする require 'RMagick' class TbKakumaru # class method def TbKakumaru.toKakumaru_from_blob(blob) mimage = Magick::Image.from_blob(blob).pop wakuColor = 'white' # とりあえず白 wakuSize = 1 wakuMaru =…
超車輪ながら、とりあえず。 # 画像を角丸にする require 'RMagick' class TbKakumaru # class method def TbKakumaru.toKakumaru_from_blob(blob) mimage = Magick::Image.from_blob(blob).pop wakuColor = 'white' # とりあえず白 wakuSize = 1 wakuMaru =…