Loading image from binary?

0 favourites
From the Asset Store
Progress\Loading Bar. Now Load you game like a Professional.
  • Finally wrapped my mind around this. It requires a GET/POST using the c3 ajax post as binary

    (The URL line being the get and qualifier - for the POST [which is the binary data])

    Your job is done Ashley! lol, and thank you for the education.

    Unfortunately, for saving to server with php it will not work without some heavy manipulation. Which is fine, the drawingcanvas save feature works very well as an image compressor and base64 string is easy for php to handle.

    Thanks again for the information.

    PS

    "The protocol blob or Object-URLs can only be generated by browser and these URL's can only be accessed / managed in the same instance / browser , which generated them.

    Therefore, it is clear that PHP does not have access to URL created.

    On the other hand, you can send the file created by the xkeshi/image-compressor library via ajax ( XMLHttpRequest )."

    So it is something that can be done.

  • 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)