libcimbar icon indicating copy to clipboard operation
libcimbar copied to clipboard

Some feature requests for low-end devices

Open llllllllqq opened this issue 4 months ago • 2 comments

This program is an amazing creation, it can help me to transfer log files from an old Windows7 x86 device to my phone without internet. In my situation, I have some other ideas for low-end devices.

  1. Provide a pure dynamic standard QR code mode for very small files (e.g. <100KB) or on user request. Just like qrs or txqr . This can be more usable and robust with bad screen resolution or with bad performance camera.
  2. Provide a single html file (just like what cimbar_js.html does) cimbar cli that can export png for download. This can be useful on old browsers/CPUs/GPUs that not support WebGL well, and is more easy to use for devices mainly on browser without keyboard.
  3. Auto split function (like part001 part002... which can be merged manually) to prevent big file OOM. Now I force my system log size under 100KB but it make the system slow.

llllllllqq avatar Aug 28 '25 11:08 llllllllqq

  1. Provide a pure dynamic standard QR code mode for very small files (e.g. <100KB) or on user request. Just like qrs or txqr . This can be more usable and robust with bad screen resolution or with bad performance camera.

I think I probably wouldn't include a QR code -- I'll likely let other projects do that. But I am working on a smaller format that works on worse cameras/screens.

There are also some robustness improvements for the decoder that I'd like to make (not sure when that'll happen though)

  1. Provide a single html file (just like what cimbar_js.html does) cimbar cli that can export png for download. This can be useful on old browsers/CPUs/GPUs that not support WebGL well, and is more easy to use for devices mainly on browser without keyboard.

This is something I hadn't thought about, but it's an interesting idea! I do worry that a version of the web decoder will be difficult/impossible (the apis we need probably don't exist on those old devices), but the encoder should be able to work.

  1. Auto split function (like part001 part002... which can be merged manually) to prevent big file OOM. Now I force my system log size under 100KB but it make the system slow.

🤔

I'm working on something that will hopefully help with OOMs (even without any splitting) -- I don't know if it'll help a little or a lot yet though.

sz3 avatar Sep 06 '25 01:09 sz3

A new release is out (https://github.com/sz3/libcimbar/releases/tag/v0.6.3), and it may help with OOM errors.

It also includes the experimental format mode Bm that should work more reliably (at cost of slower max performance)

sz3 avatar Oct 17 '25 05:10 sz3