Nothing complicated, I just keep needing to figure out x, y resolutions in pixels for an image given in megapixels so I threw together a quick tool.
Takes the resolution of the image in megapixels (e.g. 24 is 24 megapixels, 0.6 is 600,000 pixels), and the aspect ratio either in “n:m” notation (e.g. 3:2) or as a decimal number (e.g. 1.5). Returns the x and y sizes in pixels for that image rounded to a pixel.