Smart Crop is a function helper for WideImage to make easy crop and resize based on the picture size and resolution.