How do I resize a snapshoted image and send via GET ?

  • I tried to take a snapshot of the canvas and then, converting it to base64 using Pode's plugin.

    I try to past it via php's $_GET[''];

    But the result from the Server is:

    Submitted URI too large!

    The length of the requested URL exceeds the capacity limit for this server. The request cannot be processed.

    I cannot use POST because of Cross Domain Restriction, so $_GET[''] is the only way.

    So now, I know that I have to literally resize the snapshot canvas, how do I resize the image smaller so that I can send it via GET ?

    Resizing the Sprite that holds the Canvas Image doesn't help, it is a "visual" scale, not a REAL image Scale per say.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)