try resizing bitmap before crop