public int getImageSize() {
		int filePages = (int) header.get(FILE_PAGES);
		int lastPageSize = (int) header.get(LAST_PAGE_SIZE);

		int imageSize = (filePages - 1) * PAGE_SIZE + lastPageSize;
		if (lastPageSize == 0) {
			imageSize += PAGE_SIZE;
		}
		return imageSize;
	}
public int getImageSize ( ) { int filePages = ( int ) header . get ( FILE_PAGES ) ; int lastPageSize = ( int ) header . get ( LAST_PAGE_SIZE ) ; int imageSize = ( filePages - 1 ) * PAGE_SIZE + lastPageSize ; if ( lastPageSize == 0 ) { imageSize += PAGE_SIZE ; } return imageSize ; }
Calculates the size of the image based on {@link MSDOSHeader} information
FIXME too large, surpasses PE signature
@return image size