1
napoleonu 2011-03-22 10:36:37 +08:00
你是说大批量?几个的话直接chrome打开,右键另存为
|
3
est 2011-03-22 10:54:46 +08:00
python很容易搞定。手机上不方便回去就发给你
|
4
napoleonu 2011-03-22 10:58:29 +08:00
|
6
est 2011-03-22 13:33:27 +08:00
原理很简单的:
>>> data = """data:image/png;base64, ... iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABGdBTUEAALGP ... C/xhBQAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9YGARc5KB0XV+IA ... AAAddEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIFRoZSBHSU1Q72QlbgAAAF1J ... REFUGNO9zL0NglAAxPEfdLTs4BZM4DIO4C7OwQg2JoQ9LE1exdlYvBBeZ7jq ... ch9//q1uH4TLzw4d6+ErXMMcXuHWxId3KOETnnXXV6MJpcq2MLaI97CER3N0 ... vr4MkhoXe0rZigAAAABJRU5ErkJggg==""".split('e64,')[1].decode('base64') >>> open('1.png', 'wb').write(data) |
7
CupTools 2011-03-22 13:56:35 +08:00
=.= 我表示PHP也无压力...
|