public static unsafe ulong Hash(GuPixelFormats PixelFormat, void* Input, int Width, int Height) { int TotalBytes = GetPixelsSize(PixelFormat, Width * Height); return Hashing.FastHash((byte*)Input, TotalBytes, (ulong)((int)PixelFormat * Width * Height)); }