.pngs might scale a bit better, but MG accepts JPEG just fine as well. It's pretty forgiving about image quality. However, I avoid the autocrop function, and crop everything before loading. That way, there's less for MG to chew on, which is more efficient.