Converted all static GIF smilies to PNG and produced static PNGs for all animated GIFs

This commit is contained in:
Lexi 2011-08-11 00:06:23 +01:00
parent 33a57686d0
commit da7cc697e5
65 changed files with 51 additions and 28 deletions

23
MacBuild/conv3rt.sh Normal file
View file

@ -0,0 +1,23 @@
#!/bin/bash
# Lex's gif->png script
for file in *.gif
do
convert ${file} ${file:0:$((${#file}-3))}"png"
done
for file in `ls | grep -G -e "-[1-9]\+.png"`
do
rm $file
done
for file in `ls | grep -e "-0.png"`
do
newfile=`echo $file | sed -e 's|\(.*\)-0.png|\1.png|'`
mv $file $newfile
done
# for file in *.gif
# do
# rm ${file:0:$((${#file}-3))}"png"
# done

View file

@ -372,45 +372,45 @@ def img2smiley(string):
return string
smiledict = {
":rancorous:": "pc_rancorous.gif",
":apple:": "apple.gif",
":bathearst:": "bathearst.gif",
":rancorous:": "pc_rancorous.png",
":apple:": "apple.png",
":bathearst:": "bathearst.png",
":cathearst:": "cathearst.png",
":woeful:": "pc_bemused.gif",
":sorrow:": "blacktear.gif",
":pleasant:": "pc_pleasant.gif",
":woeful:": "pc_bemused.png",
":sorrow:": "blacktear.png",
":pleasant:": "pc_pleasant.png",
":blueghost:": "blueslimer.gif",
":slimer:": "slimer.gif",
":candycorn:": "candycorn.gif",
":candycorn:": "candycorn.png",
":cheer:": "cheer.gif",
":duhjohn:": "confusedjohn.gif",
":datrump:": "datrump.gif",
":facepalm:": "facepalm.gif",
":datrump:": "datrump.png",
":facepalm:": "facepalm.png",
":bonk:": "headbonk.gif",
":mspa:": "mspa_face.gif",
":mspa:": "mspa_face.png",
":gun:": "mspa_reader.gif",
":cal:": "lilcal.png",
":amazedfirman:": "pc_amazedfirman.gif",
":amazed:": "pc_amazed.gif",
":chummy:": "pc_chummy.gif",
":cool:": "pccool.gif",
":smooth:": "pccool.gif",
":distraughtfirman": "pc_distraughtfirman.gif",
":distraught:": "pc_distraught.gif",
":insolent:": "pc_insolent.gif",
":bemused:": "pc_bemused.gif",
":3:": "pckitty.gif",
":mystified:": "pc_mystified.gif",
":pranky:": "pc_pranky.gif",
":tense:": "pc_tense.gif",
":amazedfirman:": "pc_amazedfirman.png",
":amazed:": "pc_amazed.png",
":chummy:": "pc_chummy.png",
":cool:": "pccool.png",
":smooth:": "pccool.png",
":distraughtfirman": "pc_distraughtfirman.png",
":distraught:": "pc_distraught.png",
":insolent:": "pc_insolent.png",
":bemused:": "pc_bemused.png",
":3:": "pckitty.png",
":mystified:": "pc_mystified.png",
":pranky:": "pc_pranky.png",
":tense:": "pc_tense.png",
":record:": "record.gif",
":squiddle:": "squiddle.gif",
":tab:": "tab.gif",
":beetip:": "theprofessor.gif",
":beetip:": "theprofessor.png",
":flipout:": "weasel.gif",
":befuddled:": "what.gif",
":pumpkin:": "whatpumpkin.gif",
":trollcool:": "trollcool.gif",
":befuddled:": "what.png",
":pumpkin:": "whatpumpkin.png",
":trollcool:": "trollcool.png",
":jadecry:": "jadespritehead.gif",
":ecstatic:": "ecstatic.png",
":relaxed:": "relaxed.png",
@ -422,7 +422,7 @@ smiledict = {
":manipulative:": "manipulative.png",
":vigorous:": "vigorous.png",
":perky:": "perky.png",
":acceptant:": "acceptant.gif",
":acceptant:": "acceptant.png",
}
reverse_smiley = dict((v,k) for k, v in smiledict.iteritems())

Binary file not shown.

Before

Width:  |  Height:  |  Size: 357 B

BIN
smilies/acceptant.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 B

BIN
smilies/apple.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 430 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 B

BIN
smilies/bathearst.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 937 B

BIN
smilies/blacktear.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

BIN
smilies/blueslimer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 B

BIN
smilies/candycorn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

BIN
smilies/cheer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 B

BIN
smilies/confusedjohn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 625 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 279 B

BIN
smilies/datrump.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 344 B

BIN
smilies/facepalm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 510 B

BIN
smilies/headbonk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 594 B

BIN
smilies/jadespritehead.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 336 B

BIN
smilies/mspa_face.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 B

BIN
smilies/mspa_reader.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 B

BIN
smilies/pc_amazed.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 B

BIN
smilies/pc_amazedfirman.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 B

BIN
smilies/pc_bemused.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 B

BIN
smilies/pc_chummy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 B

BIN
smilies/pc_distraught.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 B

BIN
smilies/pc_insolent.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 B

BIN
smilies/pc_mystified.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 B

BIN
smilies/pc_pleasant.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 B

BIN
smilies/pc_pranky.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 B

BIN
smilies/pc_rancorous.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 B

BIN
smilies/pc_tense.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 B

BIN
smilies/pccool.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 B

BIN
smilies/pckitty.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

BIN
smilies/record.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

BIN
smilies/slimer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 B

BIN
smilies/squiddle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

BIN
smilies/tab.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 261 B

BIN
smilies/theprofessor.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 B

BIN
smilies/trollcool.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

BIN
smilies/weasel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 B

BIN
smilies/what.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 B

BIN
smilies/whatpumpkin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B