crop: throw if widht or height is zero + tests + binaries