Megapixel Resize Calculator

This was made because Google Docs requires images to be smaller than 25 megapixels.