Git Product home page Git Product logo

pixterm's People

Contributors

calinou avatar diamondburned avatar disq avatar eliukblau avatar lmorg avatar michaelmure avatar timob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pixterm's Issues

Can't build due compile time error

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:

_, _, v := colorful.MakeColor(pixel).Hsv()
color := colorful.MakeColor(pixel)

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.

apple (arm64) m1 device cannot compile

terminal input

go mod tidy
go run cmd/pixterm/pixterm.go

error output:

# command-line-arguments
cmd/pixterm/pixterm.go:64:3: undefined: printIcon
cmd/pixterm/pixterm.go:68:2: undefined: printContributors

For some odd reason there's an issue within func printCredits()

printIcon() & printContributers() are out of scope therefore unreachable

if you comment out printIcon() & printContributers() within func printCredits() then it builds successfully

Transparent bacground

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.

go.mod support

Since Go 1.12 is out, I think this repository should have a go.mod file. I could do a PR if you want.

a NewFromImage function

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.

Create a library instead of only a cli application

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.

Examples?

Can any examples be provided on how to use pixterm? Would be nice!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.