Hans Petter Jansson

Results 35 issues of Hans Petter Jansson

The STB PNG decoder is very fast, quite a bit faster than LodePNG (approx 2x according to benchmarks I've seen). It's also widely used, so should receive plenty of testing....

research
performance

@cdluminate This is probably not a showstopper, but may be worth looking into anyway: When I run `chafa8x8.py GenA`, it prints the following: ``` $ ./chafa8x8.py GenA -> number of...

symbols
research
quality

In certain environments (e.g. using winbind), getpwnam() will return a placeholder primary group ID until the user has been successfully authenticated. This causes sshd to set the wrong GID for...

The Chafa package uses GThreadPool provided by GLib extensively. This is an abstraction over either pthreads or win32 threads, whatever GLib was built with. MXE forces pthreads on win32, and...

A security researcher found that it was possible to make lodepng allocate a terabyte or more of memory by supplying bogus image dimensions. This adds a compiled-in upper limit on...

It's probably not that useful as exported API and was generating a warning when compiled as C with `-Wmissing-prototypes`. Also saves on code size when compiled without encoder/ancillary chunks. Alternately,...

Compiling with -DLODEPNG_NO_COMPILE_CRC would lead to linker errors, since lodepng_crc32() was still being referenced: liblodepng.a(lodepng.o): in function `lodepng_chunk_check_crc`: lodepng.cpp:2496: undefined reference to `lodepng_crc32` liblodepng.a(lodepng.o): in function `lodepng_chunk_generate_crc`: lodepng.cpp:2503: undefined reference...

Split from issue 88. See [comment](https://github.com/hpjansson/chafa/issues/88#issuecomment-1245409346) by @crmabs there. I had to leave out SVG support from the static exes because it was hard to support in a static build....

Remote or just generally slow sessions could have too high latency for the terminal response to get through before the timeout, rendering in-terminal image backends unusable. Increase the timeout to...

### Discussed in https://github.com/hpjansson/chafa/discussions/173 Originally posted by **helma** October 4, 2023 I intend to use chafa as a previewer for my photos, but have sometimes problems with the rendering quality...

quality