shadow$provide.module$node_modules$pixi_DOT_js$lib$scene$text_html$utils$getTemporaryCanvasFromImage = function(global, require, module, exports) {
  var CanvasPool = require("module$node_modules$pixi_DOT_js$lib$rendering$renderers$shared$texture$CanvasPool");
  "use strict";
  exports.getTemporaryCanvasFromImage = function(image, resolution) {
    resolution = CanvasPool.CanvasPool.getOptimalCanvasAndContext(image.width, image.height, resolution);
    const {context} = resolution;
    context.clearRect(0, 0, image.width, image.height);
    context.drawImage(image, 0, 0);
    return resolution;
  };
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$scene$text_html$utils$getTemporaryCanvasFromImage.js.map
