pmelchior / des-exp-checker

Crowdsourced image quality control for the Dark Energy Survey
MIT License
9 stars 2 forks source link

Zoom function #5

Closed pmelchior closed 11 years ago

pmelchior commented 11 years ago

Zoom into the image or bigger images to make use of larger screens.

pmelchior commented 11 years ago

We're loading FITS files into the browser to allow the user to rescale the images as desired. To keep the bandwidth per image low, we decided to downsample the images by a factor of 4, this makes them 1024/512 pixels, which fits well on most screens.

The default zoom of https://github.com/astrojs/webfits only works for the webgl implementation, but we chose html5 canvas instead for the largest compatibility. So I disabled the zoom function. Anyway, since don't want to provide images with higher resolution (bandwidth!), the zoom function was of limited use anyway.