Image Size: How to know it will fit a small flash e.g. 8MB?

I was told that if the image becomes bigger then the flash size the image itself won't be build at all.