eleby / pixelizer Goto Github PK
View Code? Open in Web Editor NEWAn efficient image pixelizer written in go
License: Apache License 2.0
An efficient image pixelizer written in go
License: Apache License 2.0
I thought this looked super cool, and wanted to give a spin! I'm planning on editing any files, just wanted to have fun and see what the program could do. I've never used Go, and following the instructions in the README leaves me with a few errors that I suspect are just related to me not knowing Go. However, some basic digging and comparison against the instructions has left me a bit confused on what I'm supposed to do in order to get it working properly.
Pop!_OS 20.10 (Ubuntu-based)
Go 1.16.1 linux/amd64
go get
retrieves nothing, with no errors. So I've cloned the files to ~/Downloads/pixelizer.
test@pop-os ~/Downloads$ ll
./
../
pixelizer/
When building the repository...
test@pop-os ~/Downloads/pixelizer/main$ go build -o pixelize
go: cannot find main module, but found .git/config in /home/lee/Downloads/pixelizer
to create a module there, run:
cd .. && go mod init
Alright, I'll be a good boy and do as it says.
lee@pop-os:~/Downloads/pixelizer/main$ cd .. && go mod init
go: cannot determine module path for source directory /home/lee/Downloads/pixelizer (outside GOPATH, module path must be specified)
Knowing my unfamiliarity with Go, it's probably something simple. Am I missing something?
Thank you for any and all help!
The pixelizer has to take into account a path included in the image name parameter, so it can work everywhere.
Currently it only takes an image, and displays results, in the current directory, which is a bit limiting.
I will work on that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.