maybe a stupid question, but:
how do you calculate the size of an image in mega bytes when you know the images
pixel height and pixel width?
Depends on color depth. If you were using 8-bit pixels, it would be:
height * width / 1048576
If you were using 32-bit pixels, it would be:
4*height*width/1048576 which is