Fixed typo in comment
This commit is contained in:
parent
74c36a3063
commit
c8d396ae3a
|
|
@ -10,7 +10,7 @@ Image formats currently supported:
|
|||
|
||||
<br>
|
||||
|
||||
### Example ([Source](https://medium.com/@sean.glancy/practical-applications-of-binary-trees-3097cf663062))
|
||||
### Example ([Source](https://medium.com/@sean.glancy/practical-applications-of-binary-trees-3097cf663062)):
|
||||

|
||||
|
||||
### ASCII Art:
|
||||
|
|
|
|||
|
|
@ -33,11 +33,11 @@ import (
|
|||
)
|
||||
|
||||
// This function shrinks the passed image according to passed dimensions or terminal
|
||||
// size if none are passed turns each pixel into grayscale to simplify getting numeric
|
||||
// data for ASCII character comparison
|
||||
// size if none are passed. It turns each pixel into grayscale to simplify getting numeric
|
||||
// data for ASCII character comparison.
|
||||
//
|
||||
// The returned 2D uint32 slice contains each corresponding pixel's value ranging from
|
||||
// 0 to 65535
|
||||
// 0 to 65535.
|
||||
func ConvertToTerminalSizedSlices(img image.Image, dimensions []int) [][]uint32 {
|
||||
|
||||
var terminalWidth, terminalHeight int
|
||||
|
|
|
|||
Loading…
Reference in New Issue