algorithm

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDotScreentone

func GenerateDotScreentone(dotSize int) ([]byte, int)

GenerateDotScreentone outputs byte slice by

size = dotSize.Size*dotSize.Size*4.

And side size of matrix.

This byte values are threshold values for black. If {pixel_value} < {output_slice[index]} than that pixel is black

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL