You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Reference | [LifeHash](https://github.com/BlockchainCommons/LifeHash) | Swift
31
31
| Reference | [LifeHash](https://github.com/BlockchainCommons/LifeHash) | Mathematica/Wolfram Language | `version1` only
32
32
33
-
#### LifeHashTool CommandLine Tool
33
+
##Command-Line Tools
34
34
35
35
[LifeHashTool](https://github.com/BlockchainCommons/LifeHashTool) is a command line tool written in Swift that generates LifeHash images as PNG files.
36
36
37
-
####LifeHashes In Five Flavors
37
+
## LifeHashes In Five Flavors
38
38
39
39
***`version1`** The Original. **DEPRECATED**
40
40
***`version2`** Bug fixes and CMYK-friendly.
@@ -44,19 +44,19 @@ Some bits of the initial hash are then used to deterministically apply symmetry
44
44
45
45
⚠️ **NOTE:** The images generated by LifeHash from a given seed will not be recognizably similar between each of these versions. So pick the one you want to use for your application and stick with it!
46
46
47
-
#####Version 1 (DEPRECATED)
47
+
### Version 1 (DEPRECATED)
48
48

49
49
50
-
#####Version 2
50
+
### Version 2
51
51

52
52
53
-
#####Detailed
53
+
### Detailed
54
54

55
55
56
-
#####Fiducial
56
+
### Fiducial
57
57

58
58
59
-
#####Grayscale Fiducial
59
+
### Grayscale Fiducial
60
60

61
61
62
62
### From the "LifeHash Example" demo app:
@@ -77,7 +77,7 @@ Some bits of the initial hash are then used to deterministically apply symmetry
77
77
78
78

79
79
80
-
## Tips for Presenting LifeHash Images
80
+
###Tips for Presenting LifeHash Images
81
81
82
82
* Don't vignette or round the corners of a LifeHash image, every pixel contributes to the security of the image, so show the image as a square. If you *really* want to round the corners, make the radius small enough to still show the corner pixels.
83
83
* Don't interpolate or blur a LifeHash image: show every pixel crisply. On iOS UIKit this is accomplished by setting `layer.magnificationFilter = .nearest` on a `UIImageView`. Under SwiftUI you call `myImage.interpolation(.none)`. The iOS LifeHash library already does this for you.
0 commit comments