This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 複数の画像を1つの画像に結合します。垂直に繋げるには「-append」水平につなげるには「+append」を使います。 | |
# http://gazouiriro.seesaa.net/article/98428010.html | |
convert -append file1.png file2.png file3.png ... out.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in *.jpg ; | |
do | |
convert -depth 8 -density 600 -geometry 1812x1280 -crop 1812x1240+0+15 $i `basename ${i} jpg`bmp ; | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/sh | |
# | |
#@(#) deltaE94.sh 色差を計算 | |
#@(#) Copyleft 2008, 2009 UNO, Takashi | |
# Usage: deltaE94.sh file1 file2 | |
if [ $# -ne 2 ]; then | |
echo "Usage: `basename $0` file1 file2" 2>&1 | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/sh | |
# | |
#@(#) deltaE.sh 色差を計算 | |
#@(#) Copyleft 2008, 2009 UNO, Takashi | |
# Usage: deltaE.sh file1 file2 | |
if [ $# -ne 2 ]; then | |
echo "Usage: `basename $0` file1 file2" 2>&1 | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# for Cygwin env | |
# PDF to Text. ShiftJISだと英数記号が2バイト文字になるのでEUC-JPに | |
for i in *.pdf; | |
do | |
pdftotext -enc EUC-JP $i | |
done | |
# Windows テキストに変換 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
if [ $# = 1 ]; then | |
URL=$1 | |
TITLE=`wget -q -O - $URL | perl -nle 'm|<Entry><Title>(.*)</Title>|; print $1' | nkf -w` | |
# DATE=`wget -q -O - $URL | nkf -w | tr -d '\015' | sed -n 's|<Title>\(.*\)</Title>|\1|p' | sed -e 's|/|-|g' | sed -n '2p' | tr -d ' '` | |
# ASXMMS=`wget -q -O - $URL | nkf -w | grep wma` | |
MMS=`wget -q -O - $URL | perl -nle 'm|(mms.*wma)|; print $1'` | |
mimms ${MMS} "${TITLE}.wma" | |
# echo ${MMS} | |
# echo "${TITLE}(${DATE}).wma" |
NewerOlder