sz3 / libcimbar

Optimized implementation for color-icon-matrix barcodes
https://cimbar.org
Mozilla Public License 2.0
4.22k stars 306 forks source link

Windows support #100

Open fcwys opened 2 months ago

fcwys commented 2 months ago

I hope GUI programs on the Windows platform can support encoding and decoding (from screenshots or cameras), which will greatly improve application scenarios and convenience. The screenshot method supports dragging and dropping the mouse to draw the recognition area.

zhjygit commented 2 months ago

maybe, you can compile the code to exe.

fcwys commented 2 months ago

The construction work is quite difficult for me, and I hope to have a Release version available for use. Thank you very much!

troilus commented 2 months ago

You can use an electron converter to convert html to exe (encode only )

fcwys commented 2 months ago

The current HTML cannot send file names and does not support decoding, screenshot or camera recognition.

troilus commented 2 months ago

About sending file name: https://github.com/sz3/libcimbar/issues/88 About decoding: https://github.com/sz3/libcimbar?tab=readme-ov-file#usage maybe you can use some code to taking screenshots of screen, save and decode them.

sz3 commented 2 months ago

The dev tools do support decoding from images, and could be compiled for windows. But there are probably some patches needed and I'd need some help to get (and keep) things working, since it's not really a platform I use. That said, those are command line tools and may not be what you're looking for anyway.

The other path to windows support is via a (not yet existent) webapp decoder, which is something I intend to do, but will take some time.

fcwys commented 2 months ago

It is a good idea to use a webapp decoder.

zhjygit commented 2 months ago

The dev tools do support decoding from images, and could be compiled for windows. But there are probably some patches needed and I'd need some help to get (and keep) things working, since it's not really a platform I use. That said, those are command line tools and may not be what you're looking for anyway.

The other path to windows support is via a (not yet existent) webapp decoder, which is something I intend to do, but will take some time.

In windows platform,command tools is enough,we can encode and send to desktop window via scripts of command line.