Download canvas snapshot IE 9+

0 favourites
  • 2 posts
From the Asset Store
Pixel Destruction like in "Worms" (Drawing Canvas based)
  • Hi! I'm having some trouble trying to download a canvas snapshot with Internet Explorer 10.

    With Firefox and Chrome, when I click the button that triggers the snapshot and then the download (I followed this tutorial ) it works fine. But when I try it with internet explorer it opens a new tab with the image information as the url:

    data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAzUAAAMhCAYAAADRq59hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAN31SURBVHhe7N0HoCTXVSf8U90vv8lJo9GMkhXsGUkOkhOOsi2cMI7YBgxLTh8s4AXDfl5g+TAsGGNgMV5HwLCAMeAccY5YsmVLsmzlkTQ5v5l5OXTXd//Vfebdd+feen27q193z/x/dqmrTp26dU93T3ffV13VSWoIERERERFRj0qmp6fT+fmF+uK5b74q8uEjVXn51lI9Evbt06lcNCgyNi+yul9k62AisxWRPrMpRoILpq27JlN51GgiCyYwYOLjZma4lMhon8ihWZG1ZrssVk5kTbnWbqP+/VAqz96YyDrTBtX8x7GqfP+m5R+7dpqopPLl46k8MJ3Kf9leljfvrsirLizJ8fnUPNYi906JfOJo1Tx2JZkyT5LvW1+SL4+l8rtXlGXWPGd+854F+cqJ/L8lvOGqsrxoS2t1fvNUKq+7e0E+fEO/rDLPvb96uCLv2luVV15YltddXpL+ROQz5v78munbC7ck8hcPVc0+Ezltavi4+TfyArP/C8xz/uEZk2fq+eFtJTlpavyXQ7XaXmLWf97UcXA2lSetS+Ti4UT+bl9VNprn650TqTx3cyKDSWKex1W5xKz7xYtLWVtfMNv8l4sS+eP7K/KiC0rywFQqHzlsHtfNJbl2dSJ/bfr5I9vK2X34iGGR11/Rlz3ud0yIPGtDIm/fU5ENA4lsHxJ5stnv35h9/tkj++R7Zp8Pm8fkDnN73aoke0x+/a6K7Df9e5nZD+IPmn+vO80+Tpl/kxeb2taaf6cnTL2vMK8HnzyayoeOVORXLinLV8x98p3xVD58fZ/cZbZ7rbkff9XE/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y/OPuJPNvR8zn8tpzyMzj+eH+FTEEH+5/6juV7AU5z58/siQ/ub3BRgMwqHn+rRXzYbwsP2ce/7ftrcrr763Ka7Yl8r+uKmcDlF513DyH32eeC9eagR9enDcP5D8n8MeFr52svVH1m7u1av4t1AYhtXkMWgAvrOv7awMaDHQA2+KvfPjgtJwHpvAGWs0GNMv1iboPjsRh8Erd4R3m8fhh83qF91dqnznzuofPAXj9+7R5j3/pBd39b8B8VJHbzWezadNfHKHAZ5TDZiCD12jzMczUgtfvVPbOiFxk1uOPWng932he2/FHORzpH8cfuszzCn+IxlEVHGXH9qPmP/jjJAYouMUy3t/x+Qd/VFtrlnFECH+sw7MS99mQ83kS7yu4P0O+bj4f4hsEL1/mfsa3fD57QrI/msY6YNo/ZOp/XMTnzka9/r6qvMLcZzhq1Ch8e+E/zOeefzCDQHw7BAOeXzCvtebuyw4W4Ggs/ujbisHBgbMHNbeYO/uhaZEfMh8ci78rVt6pBfwjTeUF5kmBQU1MTfiHjjscf1W+0nzYxxEKPJnx5Dc32W02KDDz5XrbeOLjFh909XUY/1AwIPqte6ryRTPS/kPzgfJ5m+orPbDfvzcP/E+bD7XhrHzHzD++370vlRdtTrKvAmEghwHaevOP/1kbcOi1KteaJyT+MnPIfPhFnS/cXDL/2HH0AUeeJPs6Ef6CjxcQfOXro2bUj7besrOc/YNeaUfNwArPTwyqOgWP+2fN8+lb46n85mUlede+avYChhc2HAn5nUeU5E/NfXvVSCK/fMnZd9JKDmqwh/vNh+yfvGNBfuHikvyfPWk2wP/ty0vy2ks78AAWCP/O8Bes3zCPQSPwlzB8Pe1Ht5WyQQ3uHPwbBfz7xFdKEcYfA75hBvQfPJLK/3dFKftjRKNwVO5jR6vZ1xGGnTc56g0Y+OONlrrDXzxclf/HvHbhvZba5w8fqMrWQZEnry/JvPmw8ujV58cdf

    Any ideas how to make the download work in IE?

    (changing the browser is not an option because working on IE is a project specification....)

    Thanks!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • IE doesn't support downloading local data. If IE gets support for the <a download> attribute, it will work.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)