Thanks for your feedback Gregg. <br><br><div class="gmail_quote">On Thu, May 13, 2010 at 3:32 PM, Gregg Tavares <span dir="ltr"><<a href="mailto:gman@google.com">gman@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
This really seems like the wrong solution. Taken to an extreme next you'll need to add VideoRisizer, AudioRecompresser, and any thing else JavaScript can't do without freezing the browser.<br><br>It seems like it would be better to figure out a way to get Web Workers to be able to do this. </blockquote>
<div><br></div><div>This has been explored. See "<span class="Apple-style-span" style="font-family: arial, sans-serif; border-collapse: collapse; white-space: pre-wrap; ">Alternatives considered" in the original proposal.</span></div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Even if they have to XHR the binary down, decompress into a TypeArray (see WebGL) and read the data themsevles so they can keep the EXIF stuff, bloating the browser for one small use doesn't seem like the right solution.<br>
</blockquote><div><br></div><div>"Small use" is a relative term. In that there are a lot of web properties that either do this or want to do this right now.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
You can post an open source library and the usage can be as simple as this proposal.<br></blockquote><div><br></div><div>Then you would have to include the open source library as part of your web application which is suboptimal.</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><div class="gmail_quote"><div class="im">On Tue, May 11, 2010 at 11:58 AM, Sterling Swigart <span dir="ltr"><<a href="mailto:sswigart@google.com" target="_blank">sswigart@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><span style="font-family:arial,sans-serif;white-space:pre-wrap"><div>2. Or, limit the size of an image file before uploading it to a web server.</div>
</span></blockquote></div><div><br>This use case is already handled (minus the EXIF).</div></div></blockquote><div><br></div><div>How? (Note "limit the size". If you mean using canvas, it may hang the UI for the user which is a really bad experience.</div>
<div><br></div><div>dave</div><div> </div></div>