A canvas based image viewer with window and leveling