Pixelizer is an image pixelizer written in go. It allows very simple and intuitive CLI pixelization.
To install Pixelizer, you need to : * Install Go here * Run this command :
$ go get -u github.com/eleby/pixelizer/...
$ cd github.com/eleby/pixelizer/main
Then build the package (No install, since go install doesn't allow renaming) :
$ go build -o pixelize
And move it to your $GOBIN or $GOPATH/bin :
$ sudo mv pixelize [your $GOBIN or $GOPATH/bin]
Pixelizer is meant to be simple to use, error-free and intuitive. To be reminded of the usage, you can sure read this readme, but you can also open your terminal and use :
$ pixelize / $ pixelize man / $ pixelize help
This will print the manual.
Here is how it works : 1. Pixelize an image (Basic syntax) :
$ pixelize [imageName] [X] [Y] [Z] [...]
If not set, X, Y and Z will default to 1, meaning that "pixelize img.png" will output one image with a pixelization level of 1.
Secondary arguments to add to modify the basic syntax's behavior :
Log the essential of the program activity in terminal :
$ pixelize [basic syntax] [log]
$ pixelize [basic syntax] [verb]
$ pixelize [basic syntax] [print]
$ pixelize [basic syntax] [pixel]
The pixel argument cannot be used while outputting gifs. If both are specified, only the pixel one will be taken into account. * Output a gif containing all of the result images :
$ pixelize [basic syntax] [gif] [reverse] [full]
You can add the optional parameter "reverse" or "full" to change the gif animation.
The "reverse" parameter will reverse the animation.
The "full" parameter will add the reversed animation to the normal one and make a loop of them.
$ pixelize clear
$ pixelize redo
The "clear" and "redo" parameters can be used with the "log" or "verb" secondary arguments.
$ claude mcp add pixelizer \
-- python -m otcore.mcp_server <graph>