不定期日記

J2千葉観戦記, ライブの感想を中心とした備忘録

2013-07-06 (Sat) [長年日記]

_ [音楽] 透明少女ライブ@新宿Wild Side Tokyo


2013-07-07 (Sun) [長年日記]

_ [JEF] ジェフ千葉 vs ガンバ大阪


2013-07-11 (Thu) [長年日記]

_ [pdf] Ghostscript を使ってPDFをpngに変換 (pdf2png.rb)

ただオプションを覚えられないだけです。 オプションを指定しなければ、600dpiのカラーpngを出力。

#!/usr/local/bin/ruby
#
# Usage: ./pdf2png.rb [--binary|--gray] [-d 300] input.pdf [input2.pdf [...]]
#

opt_density = 600
opt_device = 'png16m'
opt_ext = 'png'
#opt_device = 'jpeg'
#opt_ext = 'jpg'

require 'getoptlong'
parser = GetoptLong.new
parser.set_options( ['--binary', GetoptLong::NO_ARGUMENT],
		['--gray', GetoptLong::NO_ARGUMENT],
		['--density', '-d', GetoptLong::REQUIRED_ARGUMENT] )
begin
	while getopt = parser.get_option
		opt_device = 'pngmono' if getopt[0] == '--binary'
#		opt_device = 'pngmonod' if getopt[0] == '--binary'
		opt_device = 'pnggray' if getopt[0] == '--gray'
		opt_density = getopt[1] if getopt[0] == '--density'
	end
rescue
end

for name in ARGV do
	filename = name.chomp("\n")
	puts filename
	system "gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=#{opt_device} -r#{opt_density} -sOutputFile=#{filename.sub(/.pdf$/, '')}-%03d.#{opt_ext} #{filename}"

end

2013-07-28 (Sun) [長年日記]

_ [音楽] 一川響ライブ@Earls Court Two (Hyper japan)

_ [音楽][performed] tito±ライブ@Alleycat


2001|01|07|08|09|10|11|12|
2002|01|02|03|
2003|03|04|05|06|07|08|09|10|11|12|
2004|01|02|03|04|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|08|09|10|11|12|
2017|03|05|06|09|11|12|
2018|05|08|10|11|
2020|07|