I remembered someone from the gears team explicitly mentioned that they will not allow scripts to access the actually content of the blobs in anyway. You're better off implement this as Java applet. Even if they allow you access, I doubt the performance will be acceptable.
- Bill On Jan 12, 12:08 am, SignpostMarv <[email protected]> wrote: > I've noticed a few old threads on this topic, so I was wondering if > there was currently any mechanism to get the contents of a blob > without having to post the data out to an external server. > > What I'm wanting to do is create a JS-based version of a PHP app I > have that converts a 13-channel RAW file into a plain old RGB PNG (and > then back again)- since manipulating the image using Photoshop etc. > isn't an option available to everybody. > > In theory I'd just loop over files[0].blob.slice(i * 13,3); then R = > character 0, G = character 1, B = character 2 etc. , using > canvas.getContext('2d').fillRect() to doodle the pixel. > > Since there doesn't appear to be any obvious way to get the blob > contents, I'm rather stumped.
