public int nbytesPerImage(){

	try{

	    if(isValid(_validStatus)){

		// time bytes
		int n = 24;

		if(applicationTemplate.equals("Fullframe + clear") || applicationTemplate.equals("Fullframe, no clear")){

		    n += 12*(512/xbin)*(1024/ybin);
		    
		}else if(applicationTemplate.equals("Fullframe with overscan") || applicationTemplate.equals("Fullframe, overscan, no clear")){

		    n += 12*(540/xbin)*(1032/ybin);
		    
		}else{
		    
		    for(int i=0; i<numEnable; i++)
			n += 12*(_windowPairs.getNx(i) / xbin ) * (_windowPairs.getNy(i) / ybin );

		}
		
		return n;
		    
	    }
	}
	catch(Exception e){
	    logPanel.add(e.toString(), LogPanel.ERROR, false);
	}
	return 1;
    }