On 3/28/23 06:53, davidson wrote:
On Mon, 27 Mar 2023 gene heskett wrote:
On 3/27/23 09:18, Nicolas George wrote:
Dan Ritter (12023-03-27):
changing 33 to 30 will get you black. ANSI color escapes are on
the web in many places.
Also, decent terminal emulators let users tweak the colors, and making
sure all main colors are readable on the default background would
probably be a good use of that ability.
Regards,
This is a sore point with something I'm fighting with. Chinese
electronics makers are in the habit of publishing .pngs of their
products, with the most valuable info one needs to properly hook it
up, in a putrid yellow on a white background.
Would it be practical to put a filter in the path cups put things
headed to a printer thru, to change just that esc sequence to make
those boxes and their text content into something more readable.
For an example of such an unhelpful document, find a copy of
"MKS-Robin-Nano-V3.X-main.zip", unpack it, cd to Image-V3, and look at
"MKS_Robin_Nano_V3_PIN.png" on-screen or better yet print it.
Like this?
https://raw.githubusercontent.com/makerbase-mks/MKS-Robin-Nano-V3.X/main/hardware/Image-V3/MKS_Robin_Nano_V3_PIN.png
I can't help you with the printing.
I use xli to view images. I like it primarily because it requires no mouse.
It also has a lot of command line options that I don't understand, but
they are fun to play with.
$ xli MKS_Robin_Nano_V3_PIN.png # I see what Gene complains about
$ xli -gamma 7 MKS_Robin_Nano_V3_PIN.png # Colors appear much darker
$ xli -gray MKS_Robin_Nano_V3_PIN.png # Yellow is now gray. Lighter
content is too light
$ xli -gray -gamma 5 MKS_Robin_Nano_V3_PIN.png # Yellow is still
gray. But\
Lighter content is
more legible
$ xli -colors 2 MKS_Robin_Nano_V3_PIN.png # Only ONE shade of gray
(obscures some info)
xli -gamma 5 MKS_Robin_Nano_V3_PIN.png shows me a much more readable
image, how do I make it save that version? Can it pipe to a new,
modified file?
Thanks.
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>