Finally: it works with images of 100 <= width/length <= 999. Only those sizes, though.