Drastically reduce image compilation time and final file size