Coder Social home page Coder Social logo

pxl's People

Contributors

dacamp avatar ichinaski avatar jonathankarsh avatar mrshu 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  avatar  avatar  avatar  avatar  avatar

pxl's Issues

Sorry, I'm newbie...

Hey!
Sorry, for using issues to ask, but I'm a total newbie in all that github stuff.

The thing is that I used code of your pxl and I left bsd license text and your name as required to be used as gocui.Manager, rather than using underlying termbox-go directly.

So the question should I do anything else, except your name being present in the license text?
And I sorry again for probably foolish question and a definitely improper usage of issue filing.

command 'pxl' not found

I have GO installed and running and configured in the PATH as well.
I run this: go get github.com/ichinaski/pxl
It gives no error, by which I assume it's gotten installed fine without any errors(?).
Then I run this: pxl path/to/image
And I get this error:
Command "pxl" not found, did you mean...

On Windows 10 syscall does not compile

$ go get github.com/ichinaski/pxl
# github.com/ichinaski/pxl
..\github.com\ichinaski\pxl\image.go:26: undefined: syscall.SYS_IOCTL
..\github.com\ichinaski\pxl\image.go:26: undefined: syscall.TIOCGWINSZ
..\github.com\ichinaski\pxl\image.go:26: not enough arguments in call to syscall.Syscall6

Image cropped in half

Usually it works fine, but this simple PNG grid is cropped at half:
image

The original image is (zipped because GitHub will compress otherwise):

4x4.png.zip

image didn't show up

i have my putty set to use xterm-256color

this is what i use when run pxl

sc27-06-2016 16 54 14

using ubuntu 14 (non-desktop version)

Issue bash on ubuntu on windows

I got a problem with installing/setting it up on Bash on Ubuntu on Windows. It installs fine, but I get an error when running:

procyon@Raccoonbook:~$ pxl /mnt/c/Users/Procyon/Pictures/chattobuysupport.png
panic: invalid argument

goroutine 1 [running]:
panic(0x57f480, 0xc82000e4f0)
/usr/lib/go-1.6/src/runtime/panic.go:481 +0x3e6
main.main()
/home/procyon/work/src/github.com/mattn/pxl/main.go:62 +0x2eb
procyon@Raccoonbook:~$

It won't run.

on windows it shows this

github.com/ichinaski/pxl

........\ichinaski\pxl\image.go:26:34: not enough arguments in call to syscall.Syscall6
........\ichinaski\pxl\image.go:26:35: undefined: syscall.SYS_IOCTL
........\ichinaski\pxl\image.go:26:87: undefined: syscall.TIOCGWINSZ

Type Q to Quit

Please add support for using the Q key to quit (rather than just ESC).

Unable to Show Images Properly..

My environment:

XQuartz 2.8.5(X11)  with 256 colors enabled 
go1.19.5 darwin/amd64

To install pxl, I used

go install github.com/ichinaski/pxl@latest

pxl was also added to my path, so I'm able to use

pxl example.png

but every image, including the Examples from the project page, is not showing properly in the terminal.
At first I saw scrolling color lines/bars rolling upwards as if it's doing a vertical scan, then a few seconds later, what was shown in the terminal is only a small tiny bit of the original image (maybe tens of pixels I suppose )

i.g. the gh.png from the project page is showing just a white screen in my xterm.

add .ico format

Is it possible to add .ico format to pxl? Currently, I just get an "unknown format" error.

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.