public static long imageToLong(String name) {
		name = name.toUpperCase();
		long encoded = 0L;
		for (int i = 0; i < name.length(); i++) {
			encoded = encoded * 61L + name.charAt(i) - 32L;
			encoded = encoded + (encoded >> 56) & 0xffffffffffffffL;
		}
		return encoded;
	}