crop, png save, max lineorientation value