imagelarge-filesdeepzoom

Very large images in web browser


We would like to display very large (50mb plus) images in Internet Explorer. We would like to avoid compression as compression algorithms are not what CSI would have us believe that they are and the resulting files are too lossy.

As a result, we have come up with two options: Silverlight Deep Zoom or a Flash based solution (such as Zoomify). The issue is that both of these require conversion to a tiled output and/or conversion to a specific file type (Zoomify supports a single proprietary file type, PFF).

What we are wondering is if a solution exists which will allow us to view the image without a conversion before hand.

PS: I know that you can write an application to tile the images (as needed or after the load process) and output them; however, we would like to do this without chopping up the file.


Solution

  • The tiled approach really is the right way to do it.

    Your users don't want to download a 50mb file before they can start viewing the image. You don't want to spend the bandwidth to serve 50 megs to every user who might only view a fraction of your image.

    If you serve the whole file, users will eventually be able to load and view it, but it won't run smoothly for most of them.

    There is no simple non-tiled way to serve just a portion of an image unless you want to use a server-side library like imagemagik or PIL to extract a specific subset of the image for each user. You probably don't want to do that because it will place a significant load on your server.

    Alternatively, you might use something like google's map tool to provide zooming and scaling. Some comments on doing that are available here:

    http://webtide.wordpress.com/2008/08/27/custom-google-maps/