25)QRコード作成

| コメント(2) | トラックバック(0)

■■■このソフトについて■■■
IllustratorCS4で選択されたTEXTをQRコードに変換します。
他のバージョンのIllustratorはどうなるかわかりません。

■■■仕組み■■■
GoogleAPIを使用させていただいています。GoogleAPIで作られたQRコードのPNG画像を
Illustratorに配置しライブトレースした後、拡張しています。
Google CODE

JavaScriptでWinでも動くものは
いっちゃんのブログ(仮)
にあります。こちらはちゃんとJavaScriptで作っているのですごいです。とても私にはできません。

ライブトレースのコード

on run {downQRpng, qrX, qrY}
	set downQRpng to downQRpng as alias
	set qrX to qrX as real
	set qrY to qrY as real
	with timeout of 1 second
		try
			tell application "Adobe Illustrator"
				set placedRef to make new placed item in document 1 with properties {file path:downQRpng}
				set position of placedRef to {qrX, qrY}
				set This_Trace to trace placed placedRef
				set properties of tracing options of tracing of This_Trace to {corner angle:90, fills:true, live paint output:false, maximum colors:2, maximum stroke weight:0, minimum area:0, minimum stroke length:40, output swatches:true, path fitting:0, preprocess blur:0, resample resolution:72, strokes:false, tracing mode:bw tracing mode}
				set This_Group to expand tracing of tracing of This_Trace
			end tell
			return "true"
		on error
			get ""
		end try
	end timeout
end run

ダウンロードはこちらたけうちとおるのHP:単福

すいません。アプリ度の高いソフトは本体サイトにアップすることにしました。
本体サイトが更新しないのもなんだなぁという事で。。。

Illustrator25

トラックバック(0)

トラックバックURL: http://www.adg7.com/mt/mt-tb.cgi/630

Comments are nofollow setting

コメント(2)

おぉ。すごい。AppleScriptかと思ったのですが
XCodeで書かれているみたいですね。
しかし漢字のQRコード化はダメでした。

コメントする

エントリー一覧

OpenID対応しています OpenIDについて
Powered by Movable Type 7.902.0
漢字イラストロジック-脳トレ京
FREE ONLINE SUDOKU