Giter Club home page Giter Club logo

icat's Issues

Please tag releases

Hi!
Can you please tag releases? I want to include this nifty program in the MacPorts tree, and using tags for releases would greatly ease the maintainership :)

Thank you very much!

Windows client question

Just a question. I've never used a 256 color SSH client in Windows...I'm trying to use icat to produce 256 color output in an SSH session to my Ubuntu box, running iCat. I tried running ANSICON and plink, but that doesn't look right either. Any suggestions on the environment on a windows box that would look right?

Thanks

Add example to README

Would be cool if you could add an example image and its icat output to the README.

Compilation failed on MacOS

I had an error at compilation time with MacOS Ventura, Apple Silicon, homebrew with Imlib2 dependency installed.

% make
cc -c -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -I/opt/homebrew/include/X11 `pkg-config --cflags Imlib2` -o icat.o icat.c
In file included from icat.c:39:
/opt/homebrew/Cellar/imlib2/1.10.0/include/Imlib2.h:45:10: fatal error: 'X11/Xlib.h' file not found
#include <X11/Xlib.h>
         ^~~~~~~~~~~~
1 error generated.
make: *** [icat.o] Error 1

I modified the Makefile this way :

-       CFLAGS:=$(CFLAGS) -I/opt/X11/include `pkg-config --cflags Imlib2`
+       CFLAGS:=$(CFLAGS) -I/opt/homebrew/include `pkg-config --cflags Imlib2`

Now the compilation is ok ๐Ÿ‘

% make
cc -c -Wall -pedantic -std=c99 -D_DEFAULT_SOURCE -I/opt/homebrew/include `pkg-config --cflags Imlib2` -o icat.o icat.c
cc -o icat icat.o  `pkg-config --libs Imlib2`

Hope it helps...

Sub-optimal color approximation due to Euclidean metric in RGB

Hi,

The Euclidean metric ( sqrt(a^2+b^2+c^2) ) does not approximate perceived color distance very well. In my version of this project (this seems to be one of these weird wheels everybody keeps reinventing^^) I used the LUV color space, where the Euclidean metric gives somewhat better (though still imperfect) results.

Also, using the ANSI standard palette (colors 0-16) is unwise for image display since users tend to re-define these colors using color themes in their terminal emulators.

Cheers,
jaseg

with imlib2 dependency installed, the 'make' command failed.

On a Apple Silicon Mac, the make command failed.

โžœ  icat git:(master) pkg-config --libs Imlib2        
-L/opt/homebrew/Cellar/imlib2/1.10.0/lib -lImlib2

So the lmlib2 is installed.

โžœ  icat git:(master) make      
cc -c -Wall -pedantic -std=c99 -D_BSD_SOURCE -I/opt/X11/include -o icat.o icat.c
icat.c:39:10: fatal error: 'Imlib2.h' file not found
#include <Imlib2.h>
         ^~~~~~~~~~
1 error generated.
make: *** [icat.o] Error 1

icat display image in 24 bit

I just came across icat. I am using Arch Linux. I tried displaying an image with icat, but it always displays in 256 colour, instead of 24 bit.
image

My terminal already supports 24 bit colour as can be seen from the following test:

image

I tried searching the internet for enabling 24 bit colour support for icat, but all I could up with is that it is supported by default in icat.
So my question is how do I get the pictures to display in 24 bit colour.

Package

Are there any plans for making deb/rpm packages?

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.