public static String s_intFormatToString(int fmt) {
		switch(fmt) {
		case BufferedImage.TYPE_4BYTE_ABGR: return "4BYTE_ABGR";
		case BufferedImage.TYPE_4BYTE_ABGR_PRE: return "4BYTE_ABGR_PRE";
		case BufferedImage.TYPE_3BYTE_BGR: return "3BYTE_BGR";	
		case BufferedImage.TYPE_BYTE_GRAY: return "BYTE_GRAY";
		case BufferedImage.TYPE_INT_ARGB: return "INT_ARGB";
		case BufferedImage.TYPE_INT_RGB: return "INT_RGB";
		case BufferedImage.TYPE_CUSTOM: return "CUSTOM";
		case BufferedImage.TYPE_BYTE_INDEXED: return "BYTE_INDEXED";
		case BufferedImage.TYPE_BYTE_BINARY: return "BYTE_BINARY";
		default: return "UNKNOWN_TYPE";
		}
	}