In a Chrome App (packaged app), I have FileEntry objects that represent JPEG images, and I'd like to show them as thumbnails. However, it seems that the only way to access the image data is in its entirety, with the FileEntry.file method, which produces a File (subclass of Blob). As some of the images are >4MB, this is way too inefficient for showing, say, 50 thumbnails in the window.
Am I correct that there is no API for accessing just the thumbnail, or is there some HTML5 or Chrome API that I'm missing?
[Clarification: When I say "extract thumbnail", I mean reading just the thumbnail data, which is inside nearly all JPEGs. I don't mean extracting the primary compressed JPEG data and showing it thumbnail size, nor do I mean reading the binary data and pulling out the part that represents the thumbnail, as that still means reading into memory the whole file.]