SOURCE

var data = {
  "backgroundImages": [
                {
                    "widthMeter": 4.00041095648605,
                    "xMeter": 0.0025153309106826782,
                    "visible": true,
                    "rotation": 0,
                    "base64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAHgCAYAAAB91L6VAAAQpklEQVR4Xu3aP6ul3V3G8ekMsfTBxiIINgELQSxsTCNYWAgWNtrYpLJJlUJsBMFG0qQwnSDYSNIp2Nj6JnwvY9bEBTe/2Weeda25HB/Ip/hw9r73/XftPff3rH3m3buvvv0eAGLv3vFZfj6IP/mPfweAYwLcIMAAhAS4QYABCAlwgwADEBLgBgEGICTADQIMQEiAGwQYgJAANwgwACEBbhBgAEIC3CDAAIQEuEGAAQgJcIMAAxAS4AYBBiAkwA0CDEBIgBsEGICQADcIMAAhAW4QYABCAtwgwACEBLhBgAEICXCDAAMQEuAGAQYgJMANAgxASIAbBBiAkAA3CDAAIQFuEGAAQgLcIMAAhAS4QYABCAlwgwADEBLgBgEGICTADQIMQEiAGwQYgJAANwgwACEBbhBgAEIC3CDAAIQEuEGAAQgJcIMAAxAS4AYBBiAkwA0CDEBIgBsEGICQADcIMAAhAW4QYABCAtwgwACEBLhBgAEICXCDAAMQEuAGAQYgJMANAgxASIAbBBiAkAA3CDAAIQFuEGAAQgLcIMAAhAS4QYABCAlwgwADEBLgBgEGICTADQIMQEiAGwQYgJAANwgwACEBbhBgAEIC3CDAAIQEuEGAAQgJcIMAAxAS4AYBBiAkwA0CDEBIgBsEGICQADcIMAAhAW4QYABCAtwgwACEBLhBgAEICXCDAAMQEuAGAQYgJMANAgxASIAbBBiAkAA3CDAAIQFuEGD+n/zFD3/w/qvv/uZHy1Pf/d7vf9jX8jmf5z/9q+//4qbyv/7un//p/R/82Z982P9c98Tv/vEfftjnXL60rv1zrevb1/ur3/n1D+c112lZx1rmsvY4/PU//vjl52C9n+tY67Xv/N5vv//Rz/71o3U4J8ANLz6o8CW0IrQDPJcn1s14/Vv41H52lOfyV3bYvkSA1zFm2E49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E2AArs2ocE6AAbg2o8I5AQbg2owK5wQYgGszKpwTYACuzahwToABuDajwjkBBuDajArnBBiAazMqnBNgAK7NqHBOgAG4NqPCOQEG4NqMCucEGIBrMyqcE2AArs2ocE6AAbg2o8I5AQbg2owK5wQYgGszKpwTYACuzahwToABuDajwjkBBuDajArnBBiAazMqnBNgAK7NqHBOgAG4NqPCOQEG4NqMCucEGIBrMyqcE2AArs2ocE6AAbg2o8I5AQbg2owK5wQYgGszKpwTYACuzahwToABuDajwjkBBuDajArnBBiAazMqnBNgAK7NqHBOgAG4NqPCOQEG4NqMCucEGIBrMyqcE2AArs2ocE6AAbg2o8I5AQbg2owK5wQYgGszKpwTYACuzahwToABuDajwjkBBuDajArnBBiAazMqnBNgAK7NqHBOgAG4NqPCOQEG4NqMCucEGIBrMyqcE2AArs2ocE6AAbg2o8I5AQbg2owK5wQYgGszKpwTYACuzahwToABuDajwjkBBuDajArnBBiAazMqnBNgAK7NqHBOgAG4NqPCOQEG4NqMCucEGIBrMyqcE2AArs2ocE6AAbg2o8I5AQbg2owK5wQYgGszKpwTYACuzahwToABuDajwjkBBuDajArnBBiAazMqnBNgAK7NqHBOgAG4NqPCOQEG4NqMCucEGIBrMyqcE2AArs2ocE6AAbg2o8I5AQbg2owK5wQYgGszKpwTYACuzahwToABuDajwjkBBuDajArnBBiAazMqnBNgAK7NqHBOgAG4NqPCOQEG4NqMCucEGIBrMyqcE2AArs2ocE6AAbg2o8I5AQbg2owK5wQYgGszKpwTYACuzahwToABuDajwjkBBuDajArnBBiAazMqnBNgAK7NqHBOgAG4NqPCOQEG4NqMCucEGIBrMyqcE2AArs2ocE6AAbg2o8I5AQbg2owK5wQYgGszKpwTYACuzahwToABuDajwjkBBuDajArnBBiAazMqnBNgAK7NqHBOgAG4NqPCOQEG4NqMCucEGIBrMyqcE2AArs2ocE6AAbiy2rEiwr137979zvuf/Mt/A8Cx1Y6fB4TPI8AAZAS4QoAByAhwhQADkBHgCgEGICPAFQIMQEaAKwQYg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KAQYgI8AVAgxARoArBBiAjABXCDAAGQGuEGAAMgJcIcAAZAS4QoAByAhwhQADkBHgCgEGICPAFQIMQEaAKwQYgIwAVwgwABkBrhBgADICXCHAAGQEuEKAAcgIcIUAA5AR4AoBBiAjwBUCDEBGgCsEGICMAFcIMAAZAa4QYAAyAlwhwABkBLhCgAHICHCFAAOQEeAKAQYgI8AVAgxARoArBBiAjABXCDAAGQGuEGAAMgJcIcAAZAS4QoAByAhwhQADkBHgCgEGICPAFQIMQEaAKwQYgIwAVwgwABkBrhBgADICXCHAAGQEuEKAAcgIcMUaRABIfRQUAv8DJyAX2hb89OMAAAAASUVORK5CYII=",
                    "origoY": 479.580266252091,
                    "origoX": -0.30180870172104174,
                    "heightMeter": 4.00041095648605,
                    "yMeter": -0.003498140591545962,
                    "alpha": 1,
                    "id": "Background001",
                    "metersPerPixelY": 0.008334189492679271,
                    "metersPerPixelX": 0.008334189492679271
                }
            ]}

window.onload = function() {
//   document.getElementById('centImg').src = data.backgroundImages[0].base64;
  var ctx = document.getElementById('npe').getContext('2d');
  var img = new Image();
  img.onload = function() {
      ctx.drawImage(img,0,0);
  }
  img.src = data.backgroundImages[0].base64;

  var locationImg = new Image();
  locationImg.src = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABvklEQVQ4T32ST0hUURTGf5+FRZKLqJWBUiBim9oIBUWtAhFsEUTUJggMQch3p6DVjKsI330GLUIk2oRt+uMiila10SCIXJiIqxEUhMSFUJQxc2LevAmf8153dc/5vvPd755zRN5xdhijI4bFGl4bWVQ1Je/aQSp8AjoRX2PcOAWsUOUcE9rcWZMWGLF9tDKLiAg1nRJ3dg0j4A9neKTfDSwtEFiBFo4RajgmjFoHe6kwrvU4dvYYUSbUg2wBZ9/wOpGQnwJdCbGM140kv4xXd7PAHTtJlZd4Hee2dbGH13jV/l57eYEKAzxUmYKtIAYZ13y9v41zz46wzSu8zsapwKpEamm6O5ujlUHu63taoBYVbA7jJl6LBFZElIAvGG+IVMJZL/AEr9N5TbwOXCLS5cz1COwFMEOkZ9kCdRfPMbbwGto1xklEO6Gu5u9BAwlsAnHgn4izSYyfRBrd7ax5E+suzmNcBA4lBZuI94T6+H+BemERaMOrD2djcYFXEWezwDZibKdQ2oGzD4hpQk1lNtHZLeAKXhfyptCNcEA/cBT4nBD7gFXgLfAOr5n8KTSQku3nBz1x2MYSJf3KcvUX1+mVEQMd2qYAAAAASUVORK5CYII=';

   ctx.drawImage(img,1,10);












}


console 命令行工具 X clear

                    
>
console