Review my weekend HTML5 project: DropMocks
111–115 of 115 posts
Re: Review my weekend HTML5 project: DropMocks
#112Earlier quoted context omitted.
definitely i'm gonna try your lib.
Cool. Fork on github and send any pull requests. The issues right now are that it only works with ff3 and chrome. I'd have thought safari would work, but it doesn't (didn't for me). Some integrated browser detection to offer transparent reduction for images on compatible browsers would great. Let me know how it works out for you :)
"Original file was: 137724 bytes Transmitted size was: 844176 bytes (due to base64) New file is: 633131 bytes"
Re: Review my weekend HTML5 project: DropMocks
#113Earlier quoted context omitted.
Would you be OK with resizing? App Engine has a 1MB limit, and I could get around that by splitting the file on the client, but I could also just do a resize in JS with canvas/ImageData.
You should probably be using the Blobstore API if you are not already. http://code.google.com/appengine/docs/python/blobstore/overv... It takes a bit more work but you could store the original file since it has a 2GB limit. You can only fetch 1MB at a time but it should still be doable.
Re: Review my weekend HTML5 project: DropMocks
#114Earlier quoted context omitted.
Cool. Fork on github and send any pull requests. The issues right now are that it only works with ff3 and chrome. I'd have thought safari would work, but it doesn't (didn't for me). Some integrated browser detection to offer transparent reduction for images on compatible browsers would great. Let me know how it works out for you :)
I like how it changes the dimension. But converting to PNG is massively increasing the file size? "Original file was: 137724 bytes Transmitted size was: 844176 bytes (due to base64) New file is: 633131 bytes"