eliukblau / pixterm Goto Github PK
View Code? Open in Web Editor NEWDraw images in your ANSI terminal with true color
License: Mozilla Public License 2.0
Draw images in your ANSI terminal with true color
License: Mozilla Public License 2.0
I tried to vendor the ansimage
package using dep. But when compiling my project I see two errors of kind multiple-value colorful.MakeColor() in single-value context
in those lines:
Lines 466 to 467 in a39660c
The error makes perfect sense, but I don't get what went wrong here. You may have used a very old version of go-colorful
. Check out the releases, I might make sense to update your glide config tot use the 1.0
release.
go mod tidy
go run cmd/pixterm/pixterm.go
# command-line-arguments
cmd/pixterm/pixterm.go:64:3: undefined: printIcon
cmd/pixterm/pixterm.go:68:2: undefined: printContributors
func printCredits()
printIcon()
& printContributers()
are out of scope therefore unreachable
if you comment out printIcon()
& printContributers()
within func printCredits()
then it builds successfully
Is there a way to make the background transparent? as in not black or white, but transparent with the terminal. I really want some images turned to ascii with colors but let the background be transparent like my terminal. Your tool does the best job with colors and gradients from what I've seen.
Since Go 1.12 is out, I think this repository should have a go.mod file. I could do a PR if you want.
It seems like there is no exported NewFromImage
method, which is really ironic, considering how the unexported function takes in one. I could do a PR if you want.
I'm using pixterm to convert animated gifs for my project: https://github.com/mattLLVW/e.xec.sh
Would you be interested in a PR adding this functionality?
How does this idea sound to you? I came across your project and really wanted to use it in one of my hobby projects. In the current state, I had to copy and paste a bunch of your code but making it a library would be very much nicer.
Can any examples be provided on how to use pixterm? Would be nice!
this could add system detection so that it builds correctly for windows systems, and linux systems with the same command I.E. make build install
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.