[OpenLayers-Trac] Re: [OpenLayers] #2964: Error in Layer.Zoomify
when width or height is evenly divisible by 256
OpenLayers
trac-20090302 at openlayers.org
Mon Feb 20 18:52:57 EST 2012
#2964: Error in Layer.Zoomify when width or height is evenly divisible by 256
---------------------+------------------------------------------------------
Reporter: alpage | Owner: euzuro
Type: bug | Status: new
Priority: major | Milestone: 2.12 Release
Component: Layer | Version: 2.11
Keywords: zoomify | State: Review
---------------------+------------------------------------------------------
Comment(by alpage):
The zoomify pyramid normally stops when both width and height reach a tile
size that is <= standardTileSize. If you had a very unusual image with
aspect ratio e.g. 512:1 or more you could reach a point where one
dimension is zero and the other is still > standardTileSize. The tier size
in tiles in that dimension reaches zero and the image is effectively
undisplayable. Yes, such an absurd image could exist and I suppose you
should allow for it, though I'm not going to lose sleep over it as I will
never encounter such an image in my line of work. The main bug can appear
with any image where either dimension is evenly divisible by
standardTileSize and is much more common.
--
Ticket URL: <http://trac.openlayers.org/ticket/2964#comment:7>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list