News for hackers. Stuff that matters.
Re:Building iPhone Apps with HTML, CSS, and JavaScript by jeff18 on Saturday October 03, 2009 @05:09AM (#858635)
WebKit can easily scale an image down using the canvas element. Native UI can also be replicated pretty much perfectly in WebKit (e.g. you might be surprised to learn that iTunes and the app store are displayed with WebKit). Sounds like the speaker just didn't do a very good job.

The only things that aren't suitable for WebKit are things that require heavy CPU usage or access to iPhone features that Apple hasn't made available to WebKit yet, like OpenGL (incidentally, WebGL has recently landed in WebKit, so OpenGL access will no longer be a problem).

Re:Building iPhone Apps with HTML, CSS, and JavaScript by st3fan on Saturday October 03, 2009 @12:40PM (#858906)
I was talking about taking an image from the camera, scaling it down and then uploading it as an PNG. How would you do this from within a webview?
Re:Building iPhone Apps with HTML, CSS, and JavaScript by jeff18 on Saturday October 03, 2009 @01:46PM (#858961)
Scaling, converting to a PNG, and uploading the resulting image is trivial in WebKit. As for accessing the camera hardware to take a picture, that requires an API from Apple, which I thought you implied existed. :)