当前位置: 代码迷 >> JavaScript >> JavaScript 自动生成图片并合并有关问题
  详细解决方案

JavaScript 自动生成图片并合并有关问题

热度:2198   发布时间:2014-03-01 00:37:28.0
JavaScript 自动生成图片并合并问题




请问像这样效果是如何实现的呢,上面的图片是自动生成的,鼠标放在图片上可以左右拖动,同时图片上的时间也改变,随便拖动下,下面的代码就会有变化,时间也是。把下面的一大串代码放到火狐浏览器地址栏里可以直接看到图片,谢谢

火狐下在图片上右键查看图片时,浏览器地址栏是为一大串地址

下面是第一张图片生成的代码

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAsAAAAA8CAYAAABo4AykAAAHQklEQVR4nO3dS3LbOACEYZzIlYUPk7V1EVcO4B3JQ3itW2TplS+DLEa0MTCeEvhA4/

+qUDUxGRAtDJWOLDnGAAB2Z/8aa/8ae/Q6AAAAgF1QgAEAADAUCjAAAACGQgEGAADAUCjAAAAAGAoFGAAAAEOhAAMAAGAoFGAAAAAMhQIMAACAoVCAAQAAMBQKMAAAAIZCAQYAAMBQKMAAAAAYCgUYAAAAQ6EAAwAAdM5a+2J/egmc9+ad85aY8zM0R+S8z8r1JtdRmqfwWj9yrAU4sI5ri/Xnrp

+Zu/le1s4fOP6lNAcAAMCmrLVXt8RYa5/9YuMUn2fna7nykyxut3JnbUUBLllHSZ6C68QL3ncBtt7v+bSZErzF4+j9vmZ7ee/8kd/3VrPPAAAAu7sVnavz60/785XWaKnJlaJ1/tpiVLsO/3ql13F+X6oAh9aRfJWz5eNoC189v3cv750/ck5VkQcAANidX5Iir1K

+xApfprhd12J1RwGuWkcsz0PXi78CfFcRfOBxLC2od+3lvfMHjl9L5gEAADiMLf82fXVx8wvvHgU4lOeh68XfA5wt2C0LcOH6H97L2vm949VvPwEAANiVU1j8b5E/XNxs4C0CoQJsf3rxjtWsI5UneI1sju8C7Bb5l9B1iubbqAC32sva+b1zePUXAACcV6rEtSzACSUfwipeR2kprb7edwEOrsMmXmneqwC33Mva

+Z1zePUXAACcl1NoUu83b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mfuwX085AQAZ/BxgAAAADIUCDAAAgKFQgAHgQL9+/bIMBoPB2HesBfjodTAYDMaIgwLMYDAYBwwKMIPBYBw3uijAl8vFXi6Xw9dBTnKSc

+ysLXOeuQCzn1qDnFqDnG0GBfhEg5xaY5ScI2WlAGsNcmoNcmqNPQrw69HvQ86Zpul1mqbXo9exNXJqGSWnMeNkbZnzzB+CYz

+1kFMLORuhAJ8HObWMktOYcbJSgLWQUws5tVCADZuthpx6RslKAdZCTi3k1EIBNmy2GnLqGSUrBVgLObWQUwsF2LDZasipZ5SsFGAt5NRCTi0UYMNmqyGnnlGyUoC1kFMLObVQgA2brYacekbJSgHWQk4t5NRCATZsthpy6hklKwVYCzm1kFMLBdiw2WrIqWeUrBRgLeTUQk4tFGDDZqshp55RslKAtZBTCzm1UIANm62

GnHpGyUoB1kJOLeTUQgE2bLYacuoZJSsFWAs5tZBTCwXYsNlqyKlnlKwUYC3k1EJOLRRgw2arIaeeUbJSgLWQUws5texRgO3Zx+VysZfL5fB1kJOc5Bw7a8ucawE+OhP7SU6VQU6tsXVOCvCJBjm1xig5R8pKAdYa5NQa5NQaFGA2W26QU2+MkpUCrDXIqTXIqTUowGy23CCn3hglKwVYa5BTa5BTa2yd8x

+/icUaOy5WYgAAAABJRU5ErkJggg==




下面是第二张图片生成的代码

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAsAAAAA8CAYAAABo4AykAAAHkklEQVR4nO3dTXLbOBiEYZ3IlUUOk7V1EVcO4J3IQ3jtW2TplS+DLAacQBB+PlIkQTTfpwpVMyZFogVZbtOScrkAAHbn/lyc

+3NxrecBAAAA7IICDAAAgFOhAAMAAOBUKMAAAAA4FQowAAAAToUCDAAAgFOhAAMAAOBUKMAAAAA4FQowAAAAToUCDAAAgFOhAAMAAOBUKMAAAAA4FQowAAAAToUCDAAAgFOhAAMAAHTOOffqHr0m9nuP9nkvHPM7dYzMft8z51uchzVP4fjF28cF2JrVOv/MPp9rzN26z8zjP8xt6fwBAAB24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Xp11+u1+TzISU5yknPNY04FuHU21lN3kFNrkHPdQQE

+yCCn1iCn1qAAaw1yag1yag0KMAsuOcipNci5fFCAyUlOcpKzXU4K8EEGObUGObUGBVhrkFNrkFNr7JXzL/PNBpm1V744AAAAAElFTkSuQmCC

------解决办法--------------------
  相关解决方案