Author Topic: Linux terminal picture viewer WIP...  (Read 4846 times)

0 Members and 1 Guest are viewing this topic.

Offline Pixel_Outlaw

  • Pentium
  • *****
  • Posts: 1382
  • Karma: 83
    • View Profile
Linux terminal picture viewer WIP...
« on: June 13, 2011 »
I'm working on a terminal based picture viewer.
You can see some progress here. It doesn't load by file path yet just testing the standard test image "lena"

Lets face it, when you store pictures from a camera on the computer they usually don't have a very good name so soon you will be able to view them from terminal while copying folders...

C++ with CImg library. I'm freaking bonkers officially now.
« Last Edit: June 13, 2011 by Pixel_Outlaw »
Challenge Trophies Won:

Offline Pixel_Outlaw

  • Pentium
  • *****
  • Posts: 1382
  • Karma: 83
    • View Profile
Re: Linux terminal picture viewer WIP...
« Reply #1 on: June 21, 2011 »
Not sure if this is better or worse but this is how it looks like with braille patterns. This probably won't port to Windows but will work in posix.

Since the braille patters have an even distribution of dots it should be more accurate (untill the lightest character which sort of jumps to pure white as it is a block drawing character for a solid color)
Challenge Trophies Won:

Offline Hotshot

  • DBF Aficionado
  • ******
  • Posts: 2114
  • Karma: 91
    • View Profile
Re: Linux terminal picture viewer WIP...
« Reply #2 on: June 21, 2011 »
What you doing is AMAZING!  :o ;) :)

Offline Raizor

  • Founder Member
  • Pentium
  • ********
  • Posts: 1154
  • Karma: 175
    • View Profile
Re: Linux terminal picture viewer WIP...
« Reply #3 on: June 21, 2011 »
Very neat Pixel Outlaw. Looks cool :)
raizor

Challenge Trophies Won:

Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1294
  • Karma: 466
    • View Profile
    • my stuff
Re: Linux terminal picture viewer WIP...
« Reply #4 on: June 21, 2011 »
You could try to dither the picture to 1bit and select the best-matching braile character for each 2x3 pixel block.



Challenge Trophies Won:

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: Linux terminal picture viewer WIP...
« Reply #5 on: June 22, 2011 »
It's definitely getting there, first pic took a moment te register but I recognised the second at a glance

Challenge Trophies Won: