Experimental image compression algorithm (bachelor's thesis)