Browse Source

Update processor.go

main v1
Unbewohnte 4 years ago committed by GitHub
parent
commit
0edade4cc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      processor/processor.go

2
processor/processor.go

@ -62,7 +62,7 @@ func GetChar(chars []string, pixelBrightness int) string {
return chars[int((charsLen*pixelBrightness)/256)] return chars[int((charsLen*pixelBrightness)/256)]
} }
// ASCIIfy converts and image.Image into ASCII art // ASCIIfy converts an image.Image into ASCII art
func ASCIIfy(ASCIIchars []string, img *image.Image, cols, rows uint, filename string) { func ASCIIfy(ASCIIchars []string, img *image.Image, cols, rows uint, filename string) {
var resized image.Image var resized image.Image

Loading…
Cancel
Save