I was wondering if you can help me with it. I found an open-source software that converts text into base64 and it works perfectly. But It is pretty unnecessary to create much of a process on single html files, or else it would look like a button field rather than a form.
I attached a file of what I did.
I need all the help I can get. Thank you!
I need some help here please?
I need this ASAP.. Please help me!
Last edited by 007Julien; 09-21-2011 at 05:38 AM.
just load the image into a canvas and use .toDataURL() on the canvas context to grab the file as a base64 jpeg or png.
that won't work in ie, but you already have an ie solution...
the other option is to use a binary ajax request and js-based base64 encoder. FF+chrome have window.btoa() for this, but you can get the function with pure js as well; a couple scripts are floating around. test them out, i remember one being 20X faster than another...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread