Giter Site home page Giter Site logo

Comments (9)

BlueMax avatar BlueMax commented on September 24, 2024 1

Some colors were wrong in xfce terminal. I cannot remember the exact result anymore though.
I did change the values and compared it to the final ansi-utf8 file values with a Hex-Editor. And tested it with cat of course.

from moebius.

sblendorio avatar sblendorio commented on September 24, 2024

I tried #175 by exporting Utf8Ansi of this ANS file:
https://www.dropbox.com/s/w6lkqinxk4inzde/BbcNews.ans?dl=0

...but the resulting utf8ans has lost the "bright white", replaced by "light gray":
https://www.dropbox.com/s/0cp7g0wifrgceq9/BbcNews.utf8ans?dl=0

from moebius.

BlueMax avatar BlueMax commented on September 24, 2024

For me it looks like below. Tested on xfce4 terminal and termux (Android).
What system/terminal are you on? Maybe 'bright white' is 'light gray' on your terminal by design. Check several color profiles/settings in your terminal.
What happens without #175?

BbcNews

from moebius.

sblendorio avatar sblendorio commented on September 24, 2024

On the top, the result with #175
On the bottom, the result without #175
image
It's strange because on the bottom, "sometimes" there is white and sometimes not. While on the top there is never... I use Ubuntu with its default terminal emulator.

from moebius.

BlueMax avatar BlueMax commented on September 24, 2024

The top one probably has a fixed (terminal) color palette with white set to gray. I have this option as well on my terminal. Only very few color palette templates are useful for ANSI art. Try to tweak the terminal or try xfce terminal.

The bottom one is broken as the current implementation without #175 doesn't define any color at all at some points. That's why it fluctuates between gray and white. If the terminal interpretation of this null color would be white the picture could be correct. But i haven't seen any terminal doing so. Maybe MacOS or some exotic system.

from moebius.

sblendorio avatar sblendorio commented on September 24, 2024

The strange thing is that, having white set on gray, the bottom case should never show white... or not?

from moebius.

sblendorio avatar sblendorio commented on September 24, 2024

I tried XFCE Terminal and it looks OK.

from moebius.

BlueMax avatar BlueMax commented on September 24, 2024

The strange thing is that, having white set on gray, the bottom case should never show white... or not?

Yes, i think so.
Even though there might be two 'whites'. The 'cursor foreground' (that usually is gray though) and the fixed 16 colors palette 'white'. That's how you can tweak it in xfce terminal.

It might also help to take a more complex ANSI for testing. I mostly used this to test (just cat it in shell).

from moebius.

sblendorio avatar sblendorio commented on September 24, 2024

Why #175 is better than #174 ?

from moebius.

Related Issues (20)

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.