Convert the background from rgb(247,247,247) to white

Test Plan: Ran locally
Trim and resize more intelligently

Test Plan: Ran locally and inspected the resulting images