• Stars
    star
    114
  • Rank 308,031 (Top 7 %)
  • Language
    C
  • License
    Other
  • Created over 12 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ncurses Image Viewer

imgcurses

About

imgcurses is a smart console based image viewer.

House

  • Do you browse the internet using lynx?
  • Do you wish the world was only 8 colors?
  • Do you pity your peers with their pathetic desktops applications?

imgcurses might just be for you...

The limited color pallet introduces some pretty bad limitations, but unlike alternatives imgcurses is fully interactive and employs smart techniques to get the most out of viewing - it doesn't just map pixel values to ascii characters. Images are best viewed scaled up, from a distance, and with a blurred focus. The combination of modes highlights different image features and makes an overall understanding of the image much more plausible.

Gallery

Me Sunflower Car

Controls

  • To zoom use '[ ]'
  • To scroll use the arrow keys.
  • To change mode press 'm'
  • To quit press 'q'.

Modes

If anyone has any bright ideas for new algorithms or techniques I'd more than welcome trying to implement them.

  • Solid - Simply evaluates the subsection of the image and uses the closest console color. The fastest mode.
  • Value - A Black & White mode similar to most other programs. Looks at the darkness of the pixel and chooses an appropriate ascii character. Good for overall contrast.
  • Color - Blends between the two nearest colors using an appropriate ascii character. Best for trying to get a grasp of the color pallet, limited as it is.
  • Detail - Looks at the sub-image detail and tries to match it to appropriate an ascii character. Best for seeing shapes and smaller details of the image but can be slow.

File Formats

Currently imgcurses supports .tga .png .jpeg

More Repositories

1

Cello

Higher level programming in C
C
6,212
star
2

BuildYourOwnLisp

Learn C and build your own programming language in under 1000 lines of code!
HTML
2,792
star
3

mpc

A Parser Combinator library for C
C
2,648
star
4

Corange

Pure C Game Engine
C
1,720
star
5

tgc

A Tiny Garbage Collector for C
C
902
star
6

Motion-Matching

Learned Motion Matching example implementation and source code for the article "Code vs Data Driven Displacement"
C++
615
star
7

LuaAutoC

Automagically use C Functions and Structs with the Lua API
C
257
star
8

CPP_COMPLETE

Brainfuck interpreter written in the C preprocessor
C++
226
star
9

BVHView

A simple viewer for the .bvh animation file format written using raylib.
C
202
star
10

json2c

Convert JSON to C data literals
C
122
star
11

Spring-It-On

Code for the article Spring-It-On
C
86
star
12

ptest

DRY Microtesting Framework for C
C
79
star
13

Joint-Limits

Source code for the article "Joint Limits"
C++
76
star
14

PyAutoC

Automatically wrap C functions & structs at run time for the Python/C API
Python
70
star
15

Python-xNormal

Python Wrapper for xNormal
Python
65
star
16

GenoView

An example raylib application for viewing animation on the Geno character
C
62
star
17

Animation-Looping

Source code for the article "Creating Looping Animations from Motion Capture"
C++
52
star
18

Animation-Velocities

Source code for the article Propagating Velocities through Animation Systems
C++
32
star
19

QuaternionAverage

Source code for the article "Quaternion Weighted Average"
C++
20
star
20

PyMark

Python flavoured object markup.
C++
17
star
21

Ranges

Source code for the article Tags, Ranges and Masks
C++
17
star
22

zeroeggs-retarget

Retargeting of the ZeroEGGs dataset onto a common character
Python
2
star
23

Cello-Website

libCello Website
JavaScript
1
star
24

lafan1-resolved

Resolving of the Ubisoft La Forge Animation dataset onto a common skeleton
Python
1
star
25

motorica-retarget

Retargeting of the Motorica Dance dataset onto a common skeleton
Python
1
star