Menu

does not load complete image?

george84
2014-03-03
2014-03-04
  • george84

    george84 - 2014-03-03

    First I want to say that this program was a great help for me. I use it to download a map from http://www.hochgebirgsforschung.de/Karten/5_Shorong/5_ShorongHinku.html.
    Unfortunately the lower part of map is not loaded for some zoom levels, and there is an error message

    invalid crop request.

    For above example this occurs with zoomlevel=4. (zoomlevel 5 does not work at all, zoomlevel 6 is excellent).The same effect occurs on other maps.

    I am not sure if this is an error in program?

     
  • Martin Valgur

    Martin Valgur - 2014-03-04

    For whatever reason, on that server the downsampled images' dimensions, which are successively smaller than the original by a factor of two, are rounded up instead of down as it is usually done (never seen this before). As a result, dezoomify tries to paste an image tile that is too large by one pixel to the output image and fails. I can add an extra check to handle this case in dezoomify to fix this.
    Thanks for reporting the bug!

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB