Max BMP is 10MB
Changed parameters and argument names