Canvas: Upload and Save Image (Templates)

0 favourites
  • 11 posts
From the Asset Store
Fruit Slicer Template & Quality fruit and slice graphics (c3p,png,illustrator files)
  • Canvas: Upload and Save Image — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-game-templates/canvas-upload-and-save-image-116

    <p>A function you can generate an image file by using canvas snapshot and upload in server with PHP. No extra configuration needed.</p><p>Compatible with all platforms including node-webkit and mobile devices with AJAX support and Canvas snapshot support.</p><p>New Version 1.1:</p>

    • URL Texbox is added.
    • PHP file is modified to output URL of saved image file.

    <p>Requirement:</p>

    • Server with PHP 5.2

    <p>This .ZIP package contains:</p>

    • .Capx with PHP file inside
    • Instructions.txt

    <p>New updates and features in future versions, stay tuned.</p>

    Use this topic to leave comments, ask questions and talk about Canvas: Upload and Save Image

  • Joannesalfa

    Can you let me know at what resolution the Canvas is captured.

    I want to have an A4 page with results from the Game, able to be printed in good quality. Can your plugin do it?

    Note: I have a query posted on this topic in Forums, so far no-one answered.

    Thanks

    Forest

  • Joannesalfa

    Can you let me know at what resolution the Canvas is captured.

    I want to have an A4 page with results from the Game, able to be printed in good quality. Can your plugin do it?

    Note: I have a query posted on this topic in Forums, so far no-one answered.

    Thanks

    Forest

    I don't think this template is designed for printable products, sorry!

    Anyway, It's possible with jsPDF plugin that can generate a .PDF document with A4 size, you need to place a canvas inside of .PDF, I cannot guarantee you about "good quality" it's up to your design, I heard scanlines or half-tones (eg. rasterbator) would help to keep "enough quality" in upscaled canvas.

  • Hello,

    Is there any unofficial plugin in your template ?

    Thanks

  • amkp

    The plugin is not required, is there something wrong with this template? you can post here or send e-mail in product page to assist you to solve your problem.

  • Can the player pick an image from phones gallery ?

  • Will this work with cocoon.io canvas+? I am about to buy buy really need it to support canvas+.

  • Will this work with cocoon.io canvas+? I am about to buy buy really need it to support canvas+.

    This product requires canvas snapshot support to get base64 content and send base64 data to server to create the file.

    You should try canvas snapshot in cocoon canvas+, if it works then it's safe to buy.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Purchased it, and uploaded the php to my server. here is the link to that: http://deedfreak.x10host.com/canvasupload.php

    but when I put that in the AJAX, i get the "excuse me, there is wrong in your server".

    I just put "http://deedfreak.x10host.com/canvasupload.php" in the URL for AJAX.. any advice?

    Do i need to create a MySQL database for it.. i didnt see the php trying to connect to a specific database.

    EDIT: it actually created the folder and the image on my server.. just not calling it back to the project

  • Purchased it, and uploaded the php to my server. here is the link to that: http://deedfreak.x10host.com/canvasupload.php

    but when I put that in the AJAX, i get the "excuse me, there is wrong in your server".

    I just put "http://deedfreak.x10host.com/canvasupload.php" in the URL for AJAX.. any advice?

    Do i need to create a MySQL database for it.. i didnt see the php trying to connect to a specific database.

    EDIT: it actually created the folder and the image on my server.. just not calling it back to the project

    Nwadkgames

    There a page about FAQS where you can check the errors.

    Basically add a line like this

    <?php
    
    error_reporting(E_ALL);
    
    ?>[/code:3diq8lud]
    
    in index.php to figure out what's wrong on your php settings.
    
    It doesn't require mysql as database, it's an optional feature.
  • Hello, do u know how to make it compatible in Construct 3 engine? For some reason, when I select Construct 2 Engine (in construct 3) it works, but when I use the c3 engine it doesn't, do u know what to do?

    Thanks

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