Board logo

标题: [特效代码] [已解决]怎样用DOS命令生成jpg图片? [打印本页]

作者: xzwcn    时间: 2013-2-16 13:35     标题: [已解决]怎样用DOS命令生成jpg图片?

参考这个:
  1. @echo str="FFD8FFE000104A46494600010101000000000000FFDB00430006040506050406060506070706080A100A0A09090A140E0F0C1017141818171416161A1D251F1A1B231C1616202C20232627292A29191F2D302D283025282928FFDB0043010707070A080A130A0A13281A161A2828282828282828282828282828282828282828"_>>debug.vbs
  2. @echo +"282828282828282828282828282828282828282828282828282828282828FFC0001108004400AA03012200021101031101FFC4001F0000010501010101010100000000000000000102030405060708090A0BFFC400B5100002010303020403050504040000017D01020300041105122131410613516107227114328191A10823"_>>debug.vbs
  3. @echo +"42B1C11552D1F02433627282090A161718191A25262728292A3435363738393A434445464748494A535455565758595A636465666768696A737475767778797A838485868788898A92939495969798999AA2A3A4A5A6A7A8A9AAB2B3B4B5B6B7B8B9BAC2C3C4C5C6C7C8C9CAD2D3D4D5D6D7D8D9DAE1E2E3E4E5E6E7E8E9EAF1"_>>debug.vbs
  4. @echo +"F2F3F4F5F6F7F8F9FAFFC4001F0100030101010101010101010000000000000102030405060708090A0BFFC400B51100020102040403040705040400010277000102031104052131061241510761711322328108144291A1B1C109233352F0156272D10A162434E125F11718191A262728292A35363738393A43444546474849"_>>debug.vbs
  5. @echo +"4A535455565758595A636465666768696A737475767778797A82838485868788898A92939495969798999AA2A3A4A5A6A7A8A9AAB2B3B4B5B6B7B8B9BAC2C3C4C5C6C7C8C9CAD2D3D4D5D6D7D8D9DAE2E3E4E5E6E7E8E9EAF2F3F4F5F6F7F8F9FAFFDA000C03010002110311003F00F3AA28AD1D0345D43C41A9C5A7E936CD71"_>>debug.vbs
  6. @echo +"75272147000EE493C01EE6BE3D26DD91FD1F52A469C5CE6EC96ED99D457A85C7C0FF0015C5686647D366900CF911CEDBFE9CA85FD6BCF62D235097581A4C76731D48C861FB3EDF9F78EA315A4E854A76E68DAE71E1B33C1E2D49D0AAA5CBBEBB79FA799468AF514F81DE2B6B4F38C9A62C98CF90676DFF004C85DBFAD79DEB5A"_>>debug.vbs
  7. @echo +"55EE8BA94D61AA5BBDB5DC270F1B7E8411C11EE28A942A53579C6C184CCF098C93861EA2935D1329514576779F0E35CB1F053789EF7ECD0598556F2246613ED670AA76EDC73B81E4F4A88C253BF2AD8DABE2A8E1DC555924E4ECBCDBE88E328AEA7C15E05D6BC62666D262896DE12164B89DF6A29F4E0124E39E01A9FC69F0EF"_>>debug.vbs
  8. @echo +"5CF08DAC577A82DBDC5948428B8B572E809E80E40233EB8C557B1A9CBCF6D0C9E658455FEAAEA2F69**FFC3F91C7D15E8BA17C1FF13EB1A5C37CBF62B449977C51DD4ACAEE08C8E029C6473CE2B00781B5F3E2B3E1D1627FB4C0DDB770D9B3AEFDDD36FBFE1D78A6E854493717A910CDB055253846AC5B8EAF5D92DDFC8E66"_>>debug.vbs
  9. @echo +"8AF4BD4FE0BF8A6CACA4B888E9F7AD18CBC36D33190719E8CA013EC0D73FE09F016B7E3059A4D2E3863B584ED7B8B8729186EB8C804938E781C71EB4DE1EAA928B8BBB2619C60674A55E3563CB1DDDF6BEDF7F4EE72945765E33F873AEF84ACA3BDBF16D7164EC17ED16B217504F4CE40233EB8C55FF000DFC25F126BBA5C3A8"_>>debug.vbs
  10. @echo +"27D8ACEDE750D0FDAE52A6407A10154F5ED9C50B0F55CB9395DC72CDF031A2B10EAC791BB5EFD7B7A9E7D45741ADF83F5BD1FC4316897764ED7F3102158FE61283C02A7B8FE5DF15D837C11F148B7DE26D2DA7DBBBECE2E1BCCFFD076FEB8A2387AB26D28BD02B66F81A118CAA558A52D56BBAEFE8797D15D9F857E1BEBDE253"_>>debug.vbs
  11. @echo +"7EB64B6D0C96337913C772E5195FB8C007D0D6CDDFC16F145ADACD712C9A6F9712348D89D89C0193FC34470D564B9945D89AB9D6028D4F6552B454BB5FB9E675E4DAD7FC866FFF00EBE24FFD08D7ACD7936B5FF219BFFF00AF893FF4235DF957C72F43E4F8FF00FDDE8FF89FE47ACD7BBFECC11407FE1219B83723C84E7A843B"_>>debug.vbs
  12. @echo +"CF1F523F415E115D0F823C59A8783F58FB7E9BB1F72EC961933B645CE707DFD0D71616AAA5554E5B1F519F606A66180A986A2ED276B7C9A76F9D8F4AF873278C6E3E2547A9DD8BF934EB8BCB8B6B966626252AAD952B9F9769031EE303D2BB8D3ED6C47C7DD4E5555FB4FF00642C98C7F1965527EBB768FA1AE417E3BDB441A5"_>>debug.vbs
  13. @echo +"B7F0C2477533299985C81BB1DC9099271D335C578A3C6F0AFC445F13F84CDCC523C6AD2ADD1DDB9C8C32E33F771818CF6E31C577AAF4A9455A5CDADCF92965598636BCDD4A3ECAF4DC15AD67669ABD9BF4F3B1D66A1278C6E7E305D5ED90BF92CACB5386D9D6363E5A44CC300A83F74AF24E31CE4E335ADF1A66D1B4FF00889E"_>>debug.vbs
  14. @echo +"17BED6ED85C5A88641751F961CBA0CECE0F5E58D508FE3BC0A86E1BC3317F6918FCB32ADC0008F4CECCE3BE33583E25F88DA5DDF8D3C3FE29B0B0BB6BDB58985D5B4D3E133821550E0E3EF31CE39C8E01CD2955A4A0D4677BB4F5F52A86033096269CAAE1F9142128AE56B57CB6D5A7A5DECEDA3B7A9973F8BF43D2BE224BAEF"_>>debug.vbs
  15. @echo +"87B4689F4F5842C16B2A08D564DA06EC0CE307278FD2BD47C63AC5CF883F67BB9D52F8462E6E56377118C28FF4A50001F402BC3FC7DE25FF0084B7C4D71ABFD93EC9E6AA2F95E67998DAA075C0F4F4ADE9FE22F9BF0C0783FF00B2F18555FB5FDA3D25127DCDBED8FBDEF58D3C428FB48B968D3B69D59E9E33269D6583AD0A7F"_>>debug.vbs
  16. @echo +"BC84A9F35E49B518EFADECECF7B6ACEE3C347C8FD9BB5592D49595CCBE615EBCC814E7FE038FC2934126E7F66CD496EFE6488C9E56FED894118FF8166B85F87BF10E5F0AE9F79A55EE9F1EA7A3DD9264B776DA41236B60E0E41006411DBB73567C67F125359F0E45E1ED17478B49D19594BC4926E67C1DD8E8001BB9EE4919CD"_>>debug.vbs
  17. @echo +"5AC453E44EFAF2F2D8E7A994E31E2654D43DD75954E7BAD12E96DEFD168751F0FF00FB77C452D8F893C6FAA3C1E1DD198DC5B4B204843C808000C004AF18FF00C747535AFE0FF115C78CBE345C6ABA279716996B63F6591A653BA4877E781D98B9C8CF4039F4AC3FF85D5A71D36DF4F93C196F2D9C0AAB1C325D8755DA30300C"_>>debug.vbs
  18. @echo +"5E95849F14DACBC6516B7A2E876BA7DB7D945ACF628E364C03B36ECAAAE1B903383D3BE7156ABD2872A53BEB77BDDFFC039A795E3B12EB4A586506E2E3057872C5377D93F89F7DAE7AEF83EFBC3B79AF78B17C1D2489AECC5A499EE83B44CE0B00C067EEEE639E9D78E2BE7FD3352D5F4EBB9F4CBEBDD463D1BED263D4A181D8"_>>debug.vbs
  19. @echo +"A6CDF8978E99233E99E2BBA6F8C56160B7D71E1EF0A5B586A77BCCB70650416F52028DDCF3D473CD607827E26DC685617DA6EB1611EB3A65E3B492452B6D219BEF762083D718EBE9515AB539B8AE6B5AFB276D7FAD4DF2ECBB1B858D6A8E8397372594A5172F7559B4F55A7D94EC7A0F8D85A6B5F046393C1F2F95A2D9303241"_>>debug.vbs
  20. @echo +"3A1F31951B91B89E0827777CF623A554FDA4A47B5B0F0AC764EC96C86565287001511EC3F5009C571BE2EF8969A9F863FE11DF0FE8D0E8FA5311E62A3EE6619DD81803009EBD49ABDA4FC57B67D0AC34DF14F87A0D60D8ED304CD2053F28C2E4153CE3BF7EE2AA75E94D4A1CD6BA5AEB6D0CB0B94E3B0D2A589F64E4A13A8F95"_>>debug.vbs
  21. @echo +"B8F35A6924DBBD9BBF9DCEA3F6859EE6D0784EFECE59ADB561E70592162920CAA640C73DF1F89F5A8FE0AEB5A75CF885BFB667BF97C67771BC425B90C57CA550C1719EB84CF3E9D79AE0BC45F13B58D5BC6161AF4091DA3D8656DE05259429FBC18F1BB70383D38F4AEA4FC63D33EDC7575F085B8D78C7E5FDABCF1E98CE76E7"_>>debug.vbs
  22. @echo +"A71EB8E3342C453759D5E6B2BF54FB6FEA13CA31B4F2C860BD8F349C5EB194534DC9B5177DE3AEB67AD8E37C5967AF5AFC46D47496BD76D4AEAF465ADD9A3491A5C1538078E1871CE3A577DF18B566F08F8634CF06E97732B492C3E6DEDC3392F22924609CFF00110D91E800E95E6DA678BE78BC7D1F8A754B717B702633B42A"_>>debug.vbs
  23. @echo +"FE5027690A01C1C01C763C0FC6A0F1F7899FC5DE26B8D5DADBECA24544587CCDFB02A81F7B0339393D3BD737B68C613E57AB7F81ED3CBABD6C4E19578AE4A71BB6AD673D1256DECB56B4B1CF57936B5FF219BFFF00AF893FF4235EB35E4DAD7FC866FF00FEBE24FF00D08D74E55F1CBD0F138FFF00DDE8FF0089FE47ACD14515"_>>debug.vbs
  24. @echo +"E51F7E145145001451450014515D2DB5B696960ED73E4A4C96CB32878A690CAC43704A380A37045C91FC5ED5518F31956ACA924DA6FD3539AA2B763B6B517D725ADA3F2D6D619563666DAACFE564E7703FC6DD5BF1AB69A7E9D7C92DB442D6DEE7CD558E61701472B91B81918119E32A491FA5354DB32963211D5A7FD5BCFCCE"_>>debug.vbs
  25. @echo +"5E8AD6B1B7B3B58249B5459198BBC31C6A9B8075DA58B61D4F46C0C1EBF4E5D74FA2CD0A88FED16F2AB1C98EDF21971DC34A791EDEB4B9342FEB0B9AC937E76D0C7A2AFB5ADAC96D7125ADCCEEF0A876592008082C17821CF3961DBD6BABD3B435BBB08AE34FD33CEB78E18DEE241B25CB151BB712EA506EDC3A7E66AA34DCB4"_>>debug.vbs
  26. @echo +"4675B194E8AE696DB76FCCE168AD6BEB0175AEB5A6916EC776D02247F336B6D1B86EEE03679ADBB8F0BE9B05C3DBBDCEB8CF0B157922D2B747263AEC3E603F4C819EBC74A15393BD8278DA54F979B76AF6B5FEFB5CE3A8AD8D534DB99EFE692C347BDB7B52711C662762140C0C9C724E327DC9A8F4D86C62812EF5232BA33491"_>>debug.vbs
  27. @echo +"AC491E412157049DEA71971C0F4A9E477B1A2AF170E6FC377E9A197456CCF26892DB15559E09B702AF1DB93C60E410D31F6FCBDEABA59D9CF14E6DAEAE1A48A3326D9200A0818CF21CFF002A3958D578B5769AF54CCEAF26D6BFE4337FFF005F127FE846BD66BC9B5AFF0090CDFF00FD7C49FF00A11AF4F2AF8E5E87C371FF00"_>>debug.vbs
  28. @echo +"FBBD1FF13FC8F59A28A2BCA3EFC28A28A0028A28A002BAA5BBB38EC425E2B1992C91ADF641030CE1BEF971B8FCC5381CE37572B5723D53508A348E2BEBA48D06155666000F40335709729CF88A2EAA56E86C7985B50BA918AA93676AC4A808073074C1503F31F515A13DD6F545FB4EFCC89F2FDA3767E61DBED0D9FF00BE4D72"_>>debug.vbs
  29. @echo +"8BA85EADC3DC2DDDC09DD76B48256DCC38E09CE48E07E42A51AC6A6082351BC047FD376FF1AB5511CD2C24DDAD6D2DF92FF22C6ADFF1E6BFF5FB73FCA3AC9AB306A17B006105DDC44198B304959727D4E0F5A97FB5F52FFA085E7FDFF6FF001ACDB4F53AA119C172A49FCFFE0069DFF1E9A9FF00D7B8FF00D1B1D7A07853C27A"_>>debug.vbs
  30. @echo +"FDC680F3E8B68B3D979425B9F32E0466E77A82638C67E5DAA73B8E32C3BE00AF3B9F51BE9E268E7BCB99636EA8F2B303F8134C179385505F76D1852E03151EC4F4FC2B4A738C5EABFAFC4E5C561AB5685A1249DEFAA6D74F38FF005AEE6BC76C9A65F6A713966892189C86404ED32C4D82B9C1383C8CE335DAE9B6DE1FD42CE3"_>>debug.vbs
  31. @echo +"BA8ADF4B8924CE12E2EED62906263D51A404703773DBF77F77E7AF338EF2E639DA78EE26499BAC8AE431FC7AD4FF00**97FD042F3FEFFB7F8D38558C77446270356B256959F7D7B5B64767ABBE936DAB585A59416CB766E2DDFCDB630CA8577B646F8D8ED2383EF9E71B4678C9BFE40969FF005F137FE83151F**97FD042"_>>debug.vbs
  32. @echo +"F3FEFF00B7F8D456D7F796B1F976D77710C64EEDB1C8CA33EB807D87E55339A91AE1F0B3A295DDDFABF3FF003F32B56868FF00F2FBFF005EAFFD29BF**97FD042F3FEFFB7F8D364D535096378E5BEBA78DC6195A66208F423350ACB53A66AA4D72D97DFF00F00A75E4DAD7FC866FFF00EBE24FFD08D7ACD7936B5FF219BFFF"_>>debug.vbs
  33. @echo +"00AF893FF4235E9E55F1CBD0F86E3FFF0077A3FE27F91B3FF099EA3FF3C6D3FEF96FFE2A8FF84CF51FF9E369FF007CB7FF001545147B387641F5DC47FCFC97DEC3FE133D47FE78DA7FDF2DFF00C551FF00099EA3FF003C6D3FEF96FF00E2A8A28F670EC83EBB88FF009F92FBD87FC267A8FF00CF1B4FFBE5BFF8AA3FE133D47F"_>>debug.vbs
  34. @echo +"E78DA7FDF2DFFC551451ECE1D907D7711FF3F25F7B0FF84CF51FF9E369FF007CB7FF001547FC267A8FFCF1B4FF00BE5BFF008AA28A3D9C3B20FAEE23FE7E4BEF61FF00099EA3FF003C6D3FEF96FF00E2A8FF0084CF51FF009E369FF7CB7FF1545147B387641F5DC47FCFC97DEC3FE133D47FE78DA7FDF2DFFC551FF099EA3FF3"_>>debug.vbs
  35. @echo +"C6D3FEF96FFE2A8A28F670EC83EBB88FF9F92FBD87FC267A8FFCF1B4FF00BE5BFF008AA3FE133D47FE78DA7FDF2DFF00C551451ECE1D907D7711FF003F25F7B0FF0084CF51FF009E369FF7CB7FF1547FC267A8FF00CF1B4FFBE5BFF8AA28A3D9C3B20FAEE23FE7E4BEF61FF099EA3FF3C6D3FEF96FFE2A8FF84CF51FF9E369FF"_>>debug.vbs
  36. @echo +"007CB7FF001545147B387641F5DC47FCFC97DEC3FE133D47FE78DA7FDF2DFF00C551FF00099EA3FF003C6D3FEF96FF00E2A8A28F670EC83EBB88FF009F92FBD87FC267A8FF00CF1B4FFBE5BFF8AAE7AEA66B9B99A77003CAE5C81D324E78A28AECC1C63193B23E6F892BD5AB4A0AA49BD7ABBF43FFD9">>debug.vbs
  37. @echo with wscript.stdout:r=vbcrlf:for i=1 to len(str) step 48:.write "e"+hex(256+(i-1)/2):for j=i to i+46 step 2:.write " "+mid(str,j,2):next:.write r:next>>debug.vbs
  38. @echo .write "rbx"+r+"0"+r+"rcx"+r+"11F6"+r+"n debug.tmp"+r+"w"+r+"q"+r:end with>>debug.vbs&&cscript //nologo debug.vbs|debug.exe>nul&&ren debug.tmp "1.JPG"&del debug.vbs
  39. start 1.jpg
复制代码
运行后,得到如下:

如果我想制作自己的想要的图片,应该怎样修改呢?
作者: elpam    时间: 2013-2-16 16:21

试了一下  绘图失败
作者: QIAOXINGXING    时间: 2013-2-18 01:20

http://www.bathome.net/viewthread.php?tid=4435
作者: Clarkky    时间: 2013-2-18 17:59

这是vbs版本的http://www.downdao.com/ClarkkySoft/133421。
作者: BAT-VBS    时间: 2013-2-18 18:29

你把顺序搞反了,这个需要先找一个图片,然后用3楼的方法转换成代码。




欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2