Method GetImageId
GetImageId(string)
Derives a stable, positive, non-zero Kitty image id from the given string identifier.
public static int GetImageId(string id)
Parameters
Returns
- int
A positive, non-zero image id suitable for the Kitty
ikey.
Remarks
The same id always maps to the same image id, so a view's placement can be
consistently replaced or deleted across renders.