Accept only images fitting the min size on both sides
If out is :bin image binary data is written on Stdout